:root {
    --primary: #84e4c8;
    --primary-dark: #065f46;
    --primary-light: #b4f1d9;
    --primary-ultra-light: #f0fff9;
    --accent: #3cd278;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --neutral-900: #222222;
    --neutral-800: #333333;
    --neutral-700: #444444;
    --neutral-600: #666666;
    --neutral-500: #888888;
    --neutral-400: #aaaaaa;
    --neutral-300: #cccccc;
    --neutral-200: #e0e0e0;
    --neutral-100: #f5f5f5;
    --white: #ffffff;
    --text-secondary: #6b7280;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--white) 30%, var(--primary-ultra-light) 100%);
    min-height: 100vh;
    color: var(--neutral-800);
}

/* Notification Styles */
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-btn:hover {
    background: var(--neutral-100);
}

.notification-icon {
    font-size: 1.2rem;
}

.notification-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 350px;
    max-height: 400px;
    z-index: 1000;
    overflow: hidden;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-200);
    background: var(--neutral-50);
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--neutral-800);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-100);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background: var(--neutral-50);
}

.notification-item.unread {
    background: var(--primary-ultra-light);
    border-left: 3px solid var(--primary);
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--neutral-800);
}

.notification-message {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.notification-loading, .notification-empty {
    padding: 2rem;
    text-align: center;
    color: var(--neutral-500);
}

.hidden {
    display: none !important;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.account-main-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.account-basic-info h3 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.25rem;
}

.account-details p {
    margin-bottom: 0.75rem;
    color: var(--neutral-700);
}

.account-details strong {
    color: var(--neutral-800);
    min-width: 120px;
    display: inline-block;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 200px;
}

/* Premium Subscription Section */
.subscription-section {
    margin-bottom: 2rem;
}

.subscription-section h3 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.25rem;
}

.premium-active-card {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 2rem;
}

.premium-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.premium-icon {
    font-size: 1.5rem;
}

.premium-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #92400e;
}

.subscription-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.info-item label {
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item span {
    font-size: 1rem;
    color: #451a03;
    font-weight: 500;
}

.status-active {
    color: #059669 !important;
    font-weight: 600;
}

.admin-granted-notice {
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notice-icon {
    font-size: 1.25rem;
}

.notice-text p {
    margin: 0;
    color: #5b21b6;
}

.notice-text p:first-child {
    font-weight: 600;
}

.premium-actions {
    display: flex;
    gap: 1rem;
}

/* Affiliate Section */
.affiliate-section {
    margin-bottom: 2rem;
}

.affiliate-section h3 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.25rem;
}

.affiliate-info-card {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border: 1px solid #a855f7;
    border-radius: 12px;
    padding: 2rem;
}

.affiliate-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.affiliate-icon {
    font-size: 1.5rem;
}

.affiliate-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c2d12;
}

.affiliate-details p {
    margin-bottom: 1rem;
    color: #581c87;
}

.affiliate-description {
    font-size: 0.95rem;
    color: #6b21a8 !important;
}

/* Upgrade Section */
.upgrade-section {
    margin-bottom: 2rem;
}

.upgrade-section h3 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.25rem;
}

.upgrade-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #22c55e;
    border-radius: 12px;
    padding: 2rem;
}

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

.upgrade-icon {
    font-size: 2rem;
}

.upgrade-text h4 {
    margin: 0 0 0.5rem 0;
    color: #14532d;
    font-size: 1.25rem;
}

.upgrade-text p {
    margin: 0;
    color: #166534;
}

.upgrade-features {
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.feature {
    color: #15803d;
    font-size: 0.95rem;
    font-weight: 500;
}

.upgrade-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.discount {
    font-size: 0.9rem;
    background: #fbbf24;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* Admin Section */
.admin-section {
    margin-bottom: 2rem;
}

.admin-section h3 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.25rem;
}

.admin-controls-card {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 2rem;
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Support Section */
.support-section {
    margin-bottom: 2rem;
}

.support-section h3 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.25rem;
}

.support-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.support-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .account-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .subscription-info-grid {
        grid-template-columns: 1fr;
    }
    
    .upgrade-actions {
        gap: 0.75rem;
    }
    
    .admin-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .support-actions {
        flex-direction: column;
    }
    
    .upgrade-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

.dashboard-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 2px solid var(--primary-light);
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    cursor: pointer;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-secondary { background: var(--neutral-200); color: var(--neutral-700); }
.btn-success { background: var(--primary); color: var(--white); }
.btn-warning { background: var(--primary); color: var(--white); }
.btn-danger { background: #dc3545; color: var(--white); }
.btn-info { background: var(--primary); color: var(--white); }

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
}

.tab {
    padding: 0.75rem 1.5rem;
    background: var(--neutral-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    flex: 0 0 auto;
    white-space: nowrap;
}

.tab.active {
    background: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--neutral-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.login-form {
    max-width: 400px;
    margin: 4rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-light);
}

.verification-form {
    max-width: 450px;
    margin: 4rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-light);
}

.twofa-form {
    max-width: 450px;
    margin: 4rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent);
}

.password-reset-form {
    max-width: 450px;
    margin: 4rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-light);
}

.notification {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.verification-code-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: bold;
}

.verification-info {
    background: var(--primary-ultra-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.twofa-info {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #ffc107;
}

.loading-indicator {
    display: inline-block;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

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

.email-sent-feedback {
    background: #d4edda;
    color: #155724;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--primary-light);
}

.analytics-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.analytics-label {
    color: var(--neutral-600);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.user-card {
    background: var(--primary-ultra-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.user-info-detail {
    flex: 1;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-verified { background: var(--accent); color: var(--white); }
.status-unverified { background: var(--neutral-400); color: var(--white); }
.status-admin { background: var(--primary); color: var(--white); }
.status-premium { background: #ffd700; color: var(--neutral-900); }
.status-free { background: var(--neutral-300); color: var(--neutral-700); }
.status-affiliate { background: #9c27b0; color: var(--white); }
.status-blog-editor { background: #ff9800; color: var(--white); }
.status-normal { background: var(--neutral-400); color: var(--white); }

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neutral-500);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--neutral-100);
}

.modal-body {
    padding: 1.5rem;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neutral-200);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step.active .step-circle {
    background: var(--primary);
    color: var(--white);
}

.step.completed .step-circle {
    background: var(--accent);
    color: var(--white);
}

.step-label {
    font-size: 0.85rem;
    color: var(--neutral-600);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary-dark);
    font-weight: 600;
}

.resend-timer {
    text-align: center;
    margin-top: 1rem;
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.email-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.email-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.email-item.unread {
    background: var(--primary-ultra-light) !important;
    border-left: 4px solid var(--accent) !important;
}

.email-item.selected {
    border: 2px solid var(--primary) !important;
}

.email-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.loading-emails {
    text-align: center;
    padding: 2rem;
    color: var(--neutral-500);
}

.refresh-indicator {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.forgot-password-link {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password-link a {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

.recent-activity {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    padding: 1rem;
    border-left: 3px solid var(--primary);
    background: var(--primary-ultra-light);
    margin-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
}

.activity-item .activity-type {
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: capitalize;
}

.activity-item .activity-time {
    font-size: 0.8rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

/* Loading overlay to prevent flicker */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 1.2rem;
    color: var(--neutral-600);
}

.affiliate-preview {
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    background: var(--neutral-100);
}

.commission-highlight {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.5rem;
    border: 2px solid var(--neutral-300);
    border-radius: 6px;
    background: var(--white);
}

.subscription-info {
    background: var(--neutral-100);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--neutral-400);
}

.subscription-info.active {
    background: #d4edda;
    border-left-color: var(--accent);
}

.admin-premium-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.user-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.user-detail-item {
    background: var(--neutral-50);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary);
}

.user-detail-item strong {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

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

    .login-form, .verification-form, .twofa-form, .password-reset-form {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .user-actions {
        flex-direction: column;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Role Simulation Banner */
.simulation-banner {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #ffc107;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.simulation-controls {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.simulation-title {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.simulation-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sim-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.sim-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sim-btn-admin { background: var(--primary); color: var(--white); }
.sim-btn-premium { background: #ffd700; color: var(--neutral-900); }
.sim-btn-free { background: var(--neutral-300); color: var(--neutral-700); }
.sim-btn-affiliate { background: #9c27b0; color: var(--white); }
.sim-btn-blog-editor { background: #ff9800; color: var(--white); }
.sim-btn-reset { background: #dc3545; color: var(--white); }

/* Custom Checkbox Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: all 0.2s ease;
}

.checkbox-item:hover:before {
    border-color: #b4f1d9;
}

.checkbox-item input:checked ~ .checkbox-item:before {
    background-color: #b4f1d9;
    border-color: #b4f1d9;
}

.checkbox-item:after {
    content: '';
    position: absolute;
    display: none;
    left: 0.5rem;
    top: 0.25rem;
    width: 0.3rem;
    height: 0.6rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item input:checked ~ .checkbox-item:after {
    display: block;
}

/* Add these styles for the user edit form specifically */
#editUserForm .checkbox-item {
    margin-bottom: 0.5rem;
}

.status-customer-service {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

#editUserForm .checkbox-item input:checked + label {
    color: var(--primary-dark);
    font-weight: 600;
}

@keyframes flash {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}