/* Login Page Split Design */
.login-split-container {
    display: flex;
    min-height: calc(100vh - 64px);
    width: 100%;
    margin: 0;
    padding: 0;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 60px 40px;
}

.login-left-content {
    max-width: 500px;
    text-align: center;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.login-brand-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #667eea;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.login-brand-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-brand-tagline {
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-top: 5px;
}

.login-left-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin-top: 30px;
}

.login-right {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.login-form-container {
    width: 100%;
    max-width: 450px;
}

.login-form-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.login-form-container .subtitle {
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 16px;
}

.login-form-container .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    margin-top: 20px;
}

.login-form-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.login-form-container .form-control {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.login-form-container .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .login-split-container {
        flex-direction: column;
    }
    
    .login-left {
        min-height: 300px;
        padding: 40px 20px;
    }
    
    .login-brand-text h1 {
        font-size: 32px;
    }
    
    .login-left-description {
        font-size: 16px;
    }
    
    .login-right {
        padding: 40px 20px;
    }
}

/* User dashboard redesign */
.user-dashboard-page {
    background: linear-gradient(180deg, #f6f9fc 0%, #f2f6fb 100%);
}

.user-dashboard-shell {
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
}

.user-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-metric-card {
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.dashboard-metric-card.metric-muted {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.metric-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.metric-status .badge {
    font-size: 0.85rem;
    font-weight: 600;
}

.user-dashboard-board {
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.user-dashboard-board-head {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid #e6edf6;
}

.dashboard-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dashboard-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #dce5f2;
    text-decoration: none;
    color: #475569;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dashboard-tab:hover {
    border-color: #b9c8dd;
    color: #1e293b;
    transform: translateY(-1px);
}

.dashboard-tab.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.dashboard-ad-card {
    border: 1px solid #e6edf6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.dashboard-ad-media img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.dashboard-ad-placeholder {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.dashboard-ad-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 0.5rem;
}

.dashboard-ad-actions .btn {
    min-width: 2.2rem;
}

@media (max-width: 767.98px) {
    .metric-value {
        font-size: 1.3rem;
    }

    .dashboard-ad-media img,
    .dashboard-ad-placeholder {
        height: 190px;
    }
}
