/* =========================================
   Haukes Core - Dashboard Styles
========================================= */

.haukes-dashboard-wrap {
    font-family: 'Poppins', sans-serif;
    color: #222D3F;
}

/* Header */
.haukes-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
}
.haukes-dashboard-header h2 {
    margin: 0;
    font-size: 26px;
    color: #222D3F;
    text-transform: uppercase;
    font-weight: 900;
}
.haukes-dashboard-header p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}
.haukes-dashboard-logout {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}
.haukes-dashboard-logout:hover {
    color: #a71d2a;
}

/* Cards */
.haukes-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.haukes-dashboard-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s;
}
.haukes-dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.haukes-dashboard-card h4 {
    margin: 0 0 10px;
    color: #333;
    font-size: 16px;
}
.haukes-dashboard-card-value {
    margin: 0;
    font-size: 44px;
    font-weight: bold;
    color: var(--first-color, #47694c);
}
.haukes-dashboard-card-label {
    margin: 5px 0 0;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tabs */
.haukes-dashboard-tabs-wrap {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.haukes-dashboard-tabs {
    display: flex;
    border-bottom: 1px solid #eaeaea;
    background: #fafafa;
}
.haukes-tab-link {
    padding: 15px 24px;
    cursor: pointer;
    font-weight: 600;
    border-right: 1px solid #eaeaea;
    background: transparent;
    border-bottom: 1px solid #eaeaea;
    color: #555;
    transition: background 0.2s, color 0.2s;
}
.haukes-tab-link:hover {
    color: var(--first-color, #47694c);
    background: #fdfdfd;
}
.haukes-tab-link.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    color: var(--first-color, #47694c);
}
.haukes-dashboard-tab-contents {
    padding: 24px;
}

/* Tables / Lists */
.haukes-dashboard-table {
    width: 100%;
    border-collapse: collapse;
}
.haukes-dashboard-table th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #eaeaea;
    color: #333;
    font-weight: 600;
    background: #fdfdfd;
}
.haukes-dashboard-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}
.haukes-dashboard-table tr:last-child td {
    border-bottom: none;
}
.haukes-dashboard-table tr:hover td {
    background: #fafafa;
}
.haukes-status-badge {
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #495057;
    display: inline-block;
}

/* Login Form */
.haukes-dashboard-login-wrap {
    max-width: 420px;
    margin: 40px auto;
    padding: 40px 30px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.haukes-dashboard-login-wrap h3 {
    margin-top: 0;
    text-align: center;
    color: #222D3F;
}
.haukes-dashboard-login-wrap p {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}
.haukes-form-group {
    margin-bottom: 20px;
}
.haukes-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222D3F;
}
.haukes-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}
.haukes-form-control:focus {
    border-color: var(--first-color, #47694c);
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 89, 247, 0.1);
}
.haukes-alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Core Button */
.haukes-core-btn {
    background: var(--first-color, #47694c);
    color: #ffffff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: scale(1) translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}
.haukes-core-btn:hover,
.haukes-core-btn:focus {
    background-color: #212121 !important;
    transform: scale(1.04) translateZ(0);
}
.haukes-core-btn .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.haukes-core-btn .elementor-button-icon {
    margin-right: 8px;
}
.haukes-dashboard-empty {
    padding: 40px;
    text-align: center;
    color: #999;
}
