/* ===== CLIENT AREA STYLES ===== */

/* Main Content */
.main {
    position: relative;
    z-index: 1;
}

/* Hero Section - Client Area */
.hero--client {
    background: #fafbfc;
    padding: 120px 0 300px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero--client .hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero--client .hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero--client .hero__title-primary {
    color: #1f2937;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero--client .hero__title-secondary {
    color: #6b7280;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin: 0;
}

.hero--client .hero__description {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

.hero--client .hero__login {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero--client .hero__content--centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero--client .hero__icon {
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border-radius: 20px;
    padding: 2rem;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(6, 99, 173, 0.2);
    border: 1px solid rgba(6, 99, 173, 0.1);
}

/* Login Section */
.login-section {
    padding: 80px 0 200px;
    background: #fafbfc;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0663ad, #057cc6);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(6, 99, 173, 0.3);
}

.login-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.login-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #0663ad;
    box-shadow: 0 0 0 3px rgba(6, 99, 173, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-icon {
    position: absolute;
    left: 1rem;
    color: #6b7280;
    z-index: 1;
}

.form-toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.form-toggle-password:hover {
    color: #0663ad;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: #0663ad;
    border-color: #0663ad;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.form-link {
    color: #0663ad;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.form-link:hover {
    color: #057cc6;
}

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

.login-footer p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

/* Dashboard Section */
.dashboard-section {
    padding: 80px 0;
    background: #fafbfc;
    min-height: 60vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.dashboard-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(6, 99, 173, 0.3);
}

.dashboard-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.dashboard-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Service Items */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-name {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    font-size: 0.875rem;
}

.service-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

.service-status--active {
    background: #dcfce7;
    color: #166534;
}

.service-status--inactive {
    background: #fee2e2;
    color: #dc2626;
}

/* Support Stats */
.support-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0663ad;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Account Info */
.account-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.875rem;
}

.info-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.info-value--success {
    color: #059669;
}

.info-value--warning {
    color: #d97706;
}

.info-value--danger {
    color: #dc2626;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.action-btn:hover {
    background: #0663ad;
    color: #ffffff;
    border-color: #0663ad;
    transform: translateX(4px);
}

.action-btn svg {
    flex-shrink: 0;
}

/* Button Styles */
.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 8px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Login Button Enhancement */
.login-form .btn--primary {
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 99, 173, 0.3);
    position: relative;
    overflow: hidden;
}

.login-form .btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-form .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 99, 173, 0.4);
    background: linear-gradient(135deg, #057cc6, #0663ad);
}

.login-form .btn--primary:hover::before {
    left: 100%;
}

.login-form .btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(6, 99, 173, 0.3);
}

.login-form .btn--primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-form .btn--primary svg {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.login-form .btn--primary:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero--client {
        padding: 100px 0 180px;
    }
    
    .hero--client .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .login-card {
        padding: 2rem;
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .support-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .service-actions {
        width: 100%;
    }
    
    .service-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
    
    .dashboard-title {
        font-size: 1.75rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Animation for login/dashboard transition */
.dashboard-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== DASHBOARD PANEL STYLES ===== */

/* Dashboard Hero */
.dashboard-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 1;
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 0L10 20M0 10L20 10" stroke="rgba(255,255,255,0.03)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.6;
}

.dashboard-hero__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.dashboard-hero__info {
    flex: 1;
    max-width: 600px;
}

.dashboard-hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-hero__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.dashboard-hero__description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 2rem 0;
    max-width: 500px;
    line-height: 1.6;
}

.dashboard-hero__actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.dashboard-hero__actions .btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dashboard-hero__actions .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-hero__actions .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-hero__actions .btn svg {
    transition: transform 0.3s ease;
}

.dashboard-hero__actions .btn:hover svg {
    transform: translateX(4px);
}

.dashboard-hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dashboard-hero__icon {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dashboard-hero__icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    z-index: -1;
}

.dashboard-hero__icon svg {
    width: 80px;
    height: 80px;
    color: #ffffff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}


/* Dashboard Content */
.dashboard-content {
    background: #fafbfc;
    padding: 60px 0;
}

.dashboard-section {
    margin-bottom: 4rem;
}

.dashboard-section:last-child {
    margin-bottom: 0;
}

.dashboard-section__title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2rem 0;
    position: relative;
}

.dashboard-section__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0663ad, #057cc6);
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.service-card__content {
    flex: 1;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.service-card__status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.service-card__status--active {
    background: #dcfce7;
    color: #166534;
}

.service-card__status--inactive {
    background: #fee2e2;
    color: #dc2626;
}

.service-card__description {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Invoices Container */
.invoices-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.invoice-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.invoice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.invoice-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.invoice-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.invoice-card__date {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.invoice-card__status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invoice-card__status--paid {
    background: #dcfce7;
    color: #166534;
}

.invoice-card__status--pending {
    background: #fef3c7;
    color: #d97706;
}

.invoice-card__status--overdue {
    background: #fee2e2;
    color: #dc2626;
}

.invoice-card__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoice-card__amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.invoice-card__currency {
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
}

.invoice-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
}

.invoice-card__actions {
    display: flex;
    gap: 1rem;
}

/* Account Info Grid */
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.account-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.account-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.account-info-card__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.account-info-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.account-info-card__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.account-info-card__value--success {
    color: #059669;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal__close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal__body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal__footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* Invoice Details Styles */
.invoice-details__summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.invoice-details__period,
.invoice-details__total {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-details__label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.invoice-details__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.invoice-details__total .invoice-details__value {
    color: #059669;
    font-size: 1.25rem;
}

.invoice-details__services-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.invoice-details__services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invoice-details__service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.invoice-details__service:hover {
    border-color: #0663ad;
    box-shadow: 0 2px 8px rgba(6, 99, 173, 0.1);
}

.invoice-details__service-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.invoice-details__service-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.invoice-details__service-description {
    color: #6b7280;
    font-size: 0.75rem;
}

.invoice-details__service-price {
    font-weight: 700;
    color: #059669;
    font-size: 1rem;
}

/* Button Outline Style */
.btn--outline {
    background: transparent;
    border: 2px solid #0663ad;
    color: #0663ad;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn--outline:hover {
    background: #0663ad;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 99, 173, 0.3);
}

/* General Button Styles for Icons and Text */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== ACCOUNT MANAGEMENT STYLES ===== */

/* Management Cards */
.management-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.management-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.management-card__header {
    display: flex;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.management-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0663ad, #057cc6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 16px;
    flex-shrink: 0;
}

.management-card__info {
    flex: 1;
    margin-right: 16px;
}

.management-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.management-card__subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.management-card__actions {
    flex-shrink: 0;
}

.management-card__content {
    padding: 24px;
}

/* Plan Details */
.plan-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.plan-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.plan-detail__label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.plan-detail__value {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 600;
}

/* Billing Details */
.billing-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.billing-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.billing-detail__label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.billing-detail__value {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 600;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.service-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-option:hover {
    border-color: #0663ad;
    box-shadow: 0 4px 12px rgba(6, 99, 173, 0.1);
    transform: translateY(-1px);
}

.service-option__info {
    flex: 1;
    margin-right: 16px;
}

.service-option__name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.service-option__description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.service-option__price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #059669;
}

.service-option__btn {
    flex-shrink: 0;
    min-width: 100px;
}

/* Responsive Design for Management */
@media (max-width: 768px) {
    .management-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .management-card__icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .management-card__info {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .plan-details {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .service-option__info {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .service-option__btn {
        width: 100%;
    }
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .dashboard-hero {
        padding: 80px 0;
    }
    
    .dashboard-hero__content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        min-height: auto;
    }
    
    .dashboard-hero__title {
        font-size: 2.5rem;
    }
    
    .dashboard-hero__subtitle {
        font-size: 1.25rem;
    }
    
    .dashboard-hero__description {
        font-size: 1.125rem;
    }
    
    .dashboard-hero__icon {
        width: 150px;
        height: 150px;
    }
    
    .dashboard-hero__icon svg {
        width: 60px;
        height: 60px;
    }
    
    .dashboard-hero__actions .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .dashboard-content {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .invoice-card__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .invoice-card__actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .invoice-card__actions .btn {
        flex: 1;
    }
    
    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .account-info-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0663ad;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Active state for client area button */
.nav__client-area.active {
    background: #0663ad;
    color: #ffffff;
    border-color: #0663ad;
}

.nav__client-area.active:hover {
    background: #057cc6;
    border-color: #057cc6;
}
