/* HN Clone CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 10pt;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #1e293b;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 20px rgba(37, 99, 235, 0.3);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.search-container {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 15px;
    color: white;
    font-size: 14px;
    placeholder-color: rgba(255, 255, 255, 0.7);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: white;
}

/* Search results page styles */
.search-results-header {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.search-results-header h2 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 24px;
}

.search-stats {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-results p {
    margin: 10px 0;
    font-size: 16px;
}

.logo {
    font-weight: 700;
    color: #fff;
    font-size: 16pt;
    margin-left: 15px;
    background: linear-gradient(45deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

/* Refresh Badge Styles */
.logo-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.refresh-badge {
    font-size: 0.65em;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    cursor: help;
    white-space: nowrap;
}

.refresh-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 10px;
    margin-right: 10px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 2px 4px;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-user {
    color: #fff;
    font-size: 9pt;
    margin-right: 10px;
}

.btn-link {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 10pt;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(203, 213, 225, 0.5);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 10px;
    color: #60a5fa;
}

.story-list {
    list-style: none;
}

.story {
    margin-bottom: 5px;
    padding: 2px 0;
    border-bottom: 1px solid #ccc;
}

.story:last-child {
    border-bottom: none;
}

.story-link {
    color: #e1e5f0;
    text-decoration: none;
    font-size: 10pt;
}

.story-link:hover {
    text-decoration: underline;
}

.story-meta {
    font-size: 8pt;
    color: #828282;
    margin-top: 2px;
}

.story-domain {
    color: #828282;
}

.story-score {
    color: #828282;
}

.story-comments {
    color: #828282;
    text-decoration: none;
}

.story-comments:hover {
    text-decoration: underline;
}

/* Auth styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 300px;
}

.auth-form h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #ff6600;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 10pt;
}

.form-group small {
    color: #828282;
    font-size: 8pt;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10pt;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #ff6600;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a00;
}

.auth-link {
    text-align: center;
    margin-top: 15px;
    font-size: 9pt;
}

.auth-link a {
    color: #ff6600;
    text-decoration: none;
}

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

/* Post styles */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sort-controls,
    .filter-controls {
        flex-wrap: wrap;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .search-container {
        order: 2;
        margin: 0 10px;
        max-width: none;
        width: calc(100% - 20px);
    }

    .logo-container {
        order: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .refresh-badge {
        font-size: 0.6em;
        padding: 2px 8px;
        margin-left: 10px;
    }

    .nav {
        order: 3;
        margin-right: 0;
    }
}

.sort-controls {
    display: flex;
    gap: 10px;
}

.sort-link {
    color: #64748b;
    text-decoration: none;
    font-size: 10pt;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sort-link.active {
    color: #60a5fa;
    font-weight: bold;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.sort-link:hover {
    color: #1e293b;
    background: rgba(30, 41, 59, 0.1);
}

.submit-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 10pt;
    font-weight: bold;
}

.submit-link:hover {
    text-decoration: underline;
}

/* Filter controls styles */
.filter-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-link {
    color: #64748b;
    text-decoration: none;
    font-size: 9pt;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    transition: all 0.2s ease;
    background: rgba(248, 250, 252, 0.8);
    white-space: nowrap;
}

.filter-link:hover {
    color: #1e293b;
    background: rgba(30, 41, 59, 0.1);
    border-color: rgba(100, 116, 139, 0.5);
}

.filter-link.active {
    color: #fbbf24;
    font-weight: bold;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
}

.filter-link.active:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

/* Pagination controls */
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.per-page-select {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 9pt;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.per-page-select:hover {
    background: rgba(248, 250, 252, 1);
    border-color: rgba(100, 116, 139, 0.5);
}

.per-page-select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

/* Admin navigation link styling */
.admin-nav {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 6px 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.admin-nav:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3) !important;
}

/* Admin settings page styles */
.admin-section {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.setting-group {
    margin-bottom: 15px;
}

.setting-description {
    color: #475569;
    font-size: 9pt;
    margin-bottom: 15px;
    line-height: 1.4;
}

.settings-form {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.setting-note {
    margin-top: 15px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    font-size: 8.5pt;
    color: #1e40af;
}

.admin-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 116, 139, 0.3);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.posts-list {
    list-style: none;
}

.post-item {
    color: #1e293b;
    display: flex;
    align-items: flex-start;
    padding: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: -18px;
    transition: all 0.3s ease;
}

.post-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.post-rank {
    color: #64748b;
    font-size: 10pt;
    width: 25px;
    text-align: right;
    margin-right: 15px;
    margin-top: 2px;
    font-weight: 600;
}

.post-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
    min-width: 25px;
}

.vote-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12pt;
    color: #94a3b8;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.vote-btn:hover {
    color: #60a5fa;
}

.vote-btn.voted {
    color: #60a5fa;
}

.vote-score {
    font-size: 8pt;
    color: #64748b;
    margin: 2px 0;
    font-weight: 600;
    text-align: center;
}

.post-content {
    flex: 1;
}

.post-title {
    color: #1e293b;
    font-size: 10pt;
    line-height: 1.2;
    margin-bottom: 3px;
}

.post-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}

.post-link:hover {
    color: #3b82f6;
    text-decoration: none;
}

.post-domain {
    color: #94a3b8;
    font-size: 8pt;
    margin-left: 5px;
}

.post-meta {
    font-size: 8pt;
    color: #64748b;
    display: flex;
    gap: 10px;
    margin-top: 2px;
    align-items: center;
}

.post-author {
    color: #64748b;
}

.post-time {
    color: #64748b;
}

.post-comments {
    color: #64748b;
    text-decoration: none;
}

.post-comments:hover {
    color: #1e293b;
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    padding: 40px;
    color: #828282;
}

.no-posts a {
    color: #ff6600;
    text-decoration: none;
}

.no-posts a:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
}

.page-link {
    color: #ff6600;
    text-decoration: none;
    font-size: 10pt;
}

.page-link:hover {
    text-decoration: underline;
}

.page-info {
    color: #828282;
    font-size: 8pt;
}

/* Submit form styles */
.submit-container {
    display: flex;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.submit-form {
    flex: 2;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.submit-form h2 {
    color: #ff6600;
    margin-bottom: 20px;
}

.submit-form .form-group {
    margin-bottom: 15px;
}

.submit-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 10pt;
}

.submit-form input[type="text"],
.submit-form input[type="url"],
.submit-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 10pt;
    font-family: inherit;
}

.submit-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-form input[type="radio"] {
    margin-right: 5px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-secondary {
    background-color: #ccc;
    color: #000;
}

.btn-secondary:hover {
    background-color: #bbb;
}

.submit-guidelines {
    flex: 1;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.submit-guidelines h3 {
    color: #ff6600;
    margin-bottom: 15px;
    font-size: 12pt;
}

.submit-guidelines ul {
    padding-left: 20px;
}

.submit-guidelines li {
    margin-bottom: 8px;
    font-size: 9pt;
    color: #555;
}

/* Post detail styles */
.post-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.post-header .post-vote {
    margin-right: 15px;
}

.post-header .post-content {
    flex: 1;
}

.post-header .post-title {
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 8px;
}

.post-header .post-title a {
    color: #666;
    text-decoration: none;
}

.post-header .post-title a:hover {
    text-decoration: underline;
}

.post-text {
    margin-top: 15px;
    line-height: 1.4;
    color: #000;
}

.post-text code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.post-actions {
    margin-bottom: 20px;
    padding: 0 15px;
}

.action-link {
    color: #828282;
    text-decoration: none;
    font-size: 9pt;
    margin-right: 15px;
}

.action-link:hover {
    text-decoration: underline;
}

/* Comments */
.comments-section {
    margin-top: 30px;
}

.comments-section h3 {
    color: #ff6600;
    margin-bottom: 15px;
    font-size: 12pt;
}

.comment-form {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 10pt;
    font-family: inherit;
    resize: vertical;
}

.comment {
    border-left: 2px solid #cbd5e1;
    padding: 10px 0 10px 15px;
    margin-bottom: 10px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 4px;
}

.comment-meta {
    font-size: 8pt;
    color: #64748b;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: bold;
    color: #1e293b;
}

.comment-time {
    margin-left: 10px;
    color: #64748b;
}

.comment-text {
    line-height: 1.4;
    margin-bottom: 8px;
    color: #1e293b;
}

.comment-actions {
    font-size: 8pt;
}

.reply-form {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
}

.reply-form textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 9pt;
    font-family: inherit;
    resize: vertical;
}

/* Footer styles */
.footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    margin-top: 40px;
    padding: 20px 0;
    box-shadow: 0 -2px 20px rgba(37, 99, 235, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 9pt;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.footer-copyright {
    color: #6b7280;
    font-size: 8pt;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding-top: 15px;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer {
        padding: 15px 0;
    }

    /* Optimisation mobile pour les posts */
    .post-title {
        font-size: 8.5pt !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
    }
    
    .post-link {
        font-size: 8.5pt !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }
    
    .post-meta {
        font-size: 7pt !important;
        margin-top: 2px !important;
    }
    
    .post-domain {
        font-size: 7pt !important;
    }
    
    .post-item {
        padding: 6px 0 !important;
        margin-bottom: 6px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .post-rank {
        flex-shrink: 0 !important;
        order: 1 !important;
    }

    .post-vote {
        flex-shrink: 0 !important;
        order: 2 !important;
    }

    .post-content {
        flex: 1 !important;
        min-width: 0 !important;
        order: 3 !important;
    }
    
    .post-rank {
        font-size: 7pt !important;
        min-width: 20px !important;
    }
    
    .vote-score {
        font-size: 7pt !important;
    }
    
    .vote-btn {
        font-size: 10px !important;
        padding: 2px 4px !important;
    }
    
    /* Réduire l'espacement pour afficher plus de contenu */
    .container {
        padding: 0 8px !important;
    }
    
    .main-content {
        padding: 8px 0 !important;
    }
    
    /* Navigation mobile plus compacte */
    .nav-link {
        font-size: 8pt !important;
        padding: 4px 6px !important;
    }
    
    .admin-nav {
        font-size: 7.5pt !important;
        padding: 4px 6px !important;
    }
}

/* Legal pages styles */
.legal-page {
    background: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 8px;
    padding: 30px;
}

.page-header h1 {
    background: linear-gradient(45deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.page-subtitle {
    color: #94a3b8;
    font-size: 1.1em;
    margin: 0;
}

.legal-content {
    color: #e1e5f0;
    line-height: 1.6;
}

.legal-content section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 4px solid rgba(96, 165, 250, 0.5);
}

.legal-content h2 {
    color: #60a5fa;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content h3 {
    color: #c084fc;
    font-size: 1.2em;
    margin-bottom: 10px;
    margin-top: 20px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 25px;
    margin: 15px 0;
}

.legal-content li {
    margin-bottom: 8px;
    color: #d1d5db;
}

.legal-content a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #f472b6;
    text-decoration: underline;
}

.legal-content strong {
    color: #e1e5f0;
    font-weight: 600;
}

/* Contact page specific styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.contact-icon {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-details h3 {
    margin: 0 0 5px 0;
    color: #60a5fa;
}

.contact-details p {
    margin: 0;
    color: #d1d5db;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #e1e5f0;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 6px;
    background: rgba(15, 20, 25, 0.8);
    color: #e1e5f0;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 4px solid rgba(192, 132, 252, 0.5);
}

.faq-item h3 {
    color: #c084fc;
    margin-bottom: 10px;
}

/* About page specific styles */
.about-intro {
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.feature-icon {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5em;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tech-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(45deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-top: 5px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.value-item h3 {
    color: #60a5fa;
    margin-bottom: 10px;
}

.value-item h3 i {
    margin-right: 10px;
    color: #c084fc;
}

/* Report page specific styles */
.report-redirect {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    margin-bottom: 30px;
    text-align: center;
}

.redirect-action {
    margin: 20px 0;
}

.redirect-help {
    color: #9ca3af;
    font-size: 0.9em;
    margin-top: 15px;
}

.report-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    margin-bottom: 40px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.step-number {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 5px 0;
    color: #60a5fa;
}

.step-content p {
    margin: 0;
    color: #d1d5db;
    font-size: 0.9em;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.alert i {
    margin-right: 10px;
    font-size: 1.2em;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Form elements */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(107, 114, 128, 0.8);
    color: #e1e5f0;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
    background: rgba(107, 114, 128, 1);
    transform: translateY(-1px);
}

.form-help {
    font-size: 0.85em;
    color: #9ca3af;
    margin-top: 5px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2563eb 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(37, 99, 235, 0.3);
    border-top: 2px solid rgba(124, 58, 237, 0.5);
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    margin: 0 0 10px 0;
    color: #60a5fa;
    font-size: 1.1em;
}

.cookie-consent-text h3 i {
    margin-right: 8px;
    color: #f472b6;
}

.cookie-consent-text p {
    margin: 5px 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.cookie-consent-text a {
    color: #c084fc;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-actions .btn {
    padding: 10px 15px;
    font-size: 0.9em;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    color: #e1e5f0;
    border: 1px solid rgba(225, 229, 240, 0.3);
}

.btn-outline:hover {
    background: rgba(225, 229, 240, 0.1);
    border-color: #60a5fa;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cookie-modal {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    padding: 25px 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    margin-bottom: 20px;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #60a5fa;
    font-size: 1.3em;
}

.cookie-modal-header h3 i {
    margin-right: 10px;
    color: #f472b6;
}

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #e1e5f0;
    background: rgba(225, 229, 240, 0.1);
}

.cookie-modal-content {
    padding: 0 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookie-category-header h4 {
    margin: 0;
    color: #e1e5f0;
    font-size: 1.1em;
}

.cookie-category-header h4 i {
    margin-right: 8px;
    color: #c084fc;
}

.cookie-category p {
    margin: 0;
    color: #d1d5db;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #6b7280;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked+.toggle-slider {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.cookie-toggle input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled+.toggle-slider {
    background: #60a5fa;
    cursor: not-allowed;
}

.cookie-modal-actions {
    padding: 20px 25px 25px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    margin-top: 20px;
}

/* Cookie preferences section on policy page */
.cookie-preferences-section {
    margin: 20px 0;
    text-align: center;
}

/* Responsive design for cookie components */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-consent-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-modal {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }

    .cookie-modal-header {
        padding: 20px 20px 0;
    }

    .cookie-modal-content {
        padding: 0 20px;
    }

    .cookie-modal-actions {
        padding: 20px;
        flex-direction: column;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .legal-page {
        padding: 20px;
        margin: 10px;
    }

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

    .features-grid,
    .tech-grid,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .page-header h1 {
        font-size: 2em;
    }
}

/* User navigation dropdown */
.nav-user-menu {
    position: relative;
    display: inline-block;
}

.nav-user {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-user:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-user-link {
    color: #fff;
    text-decoration: none;
    font-size: 9pt;
    margin-right: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-user-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.nav-user-menu:hover .user-dropdown {
    display: block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dropdown-link:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

.dropdown-link.admin-link {
    color: #dc3545;
    border-top: 1px solid #eee;
}

.dropdown-link.admin-link:hover {
    background-color: #fff5f5;
    color: #dc3545;
}

.logout-btn {
    border-top: 1px solid #eee;
    color: #666;
}

.logout-btn:hover {
    background-color: #f8f9fa;
    color: #333;
}

/* Main logout button in navigation */
.logout-main-btn {
    background: transparent !important;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 9pt;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logout-main-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15) !important;
    text-decoration: none;
}

.logout-text {
    display: inline;
}

/* Admin navigation link */
.admin-nav {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    font-weight: 600;
    border-radius: 5px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.admin-nav:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

@media (max-width: 768px) {
    .logout-text {
        display: none;
    }
    
    .logout-main-btn {
        padding: 8px;
        min-width: 36px;
        justify-content: center;
    }
}

/* Modern Admin Interface Styles */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
    color: white;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-title-section {
    flex: 1;
}

.admin-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-title i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.admin-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-sm i {
    font-size: 12px;
}

/* Admin Cards */
.admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.admin-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 24px;
}

.admin-card-body {
    padding: 24px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease;
}

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

.admin-stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.admin-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Color variants for stats */
.stat-primary .admin-stat-number { color: #3b82f6; }
.stat-success .admin-stat-number { color: #10b981; }
.stat-danger .admin-stat-number { color: #ef4444; }
.stat-warning .admin-stat-number { color: #f59e0b; }
.stat-purple .admin-stat-number { color: #8b5cf6; }
.stat-orange .admin-stat-number { color: #f97316; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-header-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .admin-title {
        font-size: 1.5rem;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Modern Alert Styles */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Card Titles */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Enhanced Table Styles for Admin */
.admin-card table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-card table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.875rem;
}

.admin-card table th:first-child {
    border-top-left-radius: 8px;
}

.admin-card table th:last-child {
    border-top-right-radius: 8px;
}

.admin-card table td {
    border-bottom: 1px solid #f3f4f6;
    padding: 16px;
    vertical-align: top;
}

.admin-card table tr:hover {
    background: #f8fafc;
}

.admin-card table tr:last-child td {
    border-bottom: none;
}

.admin-card table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.admin-card table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* User profile styles */
.user-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.profile-info h1 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 2rem;
}

.profile-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.profile-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: #f8f9fa;
}

.tab-button:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.tab-content {
    display: none;
    padding: 24px;
}

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

.posts-list,
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    padding: 0;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.post-item:hover {
}

.post-score {
    text-align: center;
    min-width: 50px;
}

.score {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #007bff;
}

.points {
    font-size: 0.75rem;
    color: #666;
}

.post-content {
    flex: 1;
}

.post-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.post-title a {
    color: #1e293b;
    text-decoration: none;
}

.post-title a:hover {
    color: #00BBff;
}

.domain {
    font-size: 0.875rem;
    color: #666;
    margin-left: 8px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #666;
}

.comments-link {
    color: #666;
    text-decoration: none;
}

.comments-link:hover {
    color: #007bff;
}

.post-text {
    margin-top: 12px;
    color: #555;
    line-height: 1.5;
}

.comment-item {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-text {
    line-height: 1.5;
    color: #333;
    margin-bottom: 12px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #666;
}

.comment-score {
    color: #007bff;
    font-weight: 500;
}

.separator {
    color: #ccc;
}

.post-link {
    color: #666;
    text-decoration: none;
}

.post-link:hover {
    color: #007bff;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #ccc;
}

/* Account settings styles */
.account-settings {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.settings-header {
    text-align: center;
    margin-bottom: 40px;
}

.settings-header h1 {
    color: #333;
    margin-bottom: 8px;
}

.settings-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.settings-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.settings-section h2 {
    margin: 0 0 20px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-info-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

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

.info-item label {
    font-weight: 600;
    color: #555;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: #333;
}

.karma-score {
    color: #007bff;
    font-weight: bold;
}

.privacy-note {
    background: #e8f4fd;
    border: 1px solid #b3d9f7;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 0.875rem;
    color: #1c5a96;
    display: flex;
    align-items: center;
    gap: 8px;
}

.danger-zone {
    border: 2px solid #ff6b6b;
    background: #fff5f5;
}

.danger-zone h2 {
    color: #dc3545;
}

.danger-action {
    margin-top: 20px;
}

.danger-action h3 {
    color: #dc3545;
    margin-bottom: 8px;
}

.delete-modal {
    max-width: 500px;
}

.warning-text {
    color: #dc3545;
    font-weight: 500;
}

.deletion-list {
    margin: 16px 0;
    padding-left: 20px;
}

.deletion-list li {
    margin-bottom: 4px;
    color: #666;
}

.confirmation-fields {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Admin styles */
.admin-users {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.admin-header h1 {
    color: #333;
    margin-bottom: 8px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #b8860b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 12px;
}

.users-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px;
}

.stat-card h3 {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    color: #007bff;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
}

.users-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: #f8f9fa;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #eee;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.user-row:hover {
    background-color: #f8f9fa;
}

.admin-row {
    background-color: #fff9e6;
}

.admin-row:hover {
    background-color: #fff3cd;
}

.user-id {
    font-family: monospace;
    color: #666;
    font-size: 0.875rem;
}

.username a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.username a:hover {
    color: #007bff;
}

.admin-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffd700;
    color: #b8860b;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.user-email {
    color: #666;
    font-size: 0.875rem;
}

.karma-score,
.post-count,
.comment-count,
.vote-count {
    font-weight: 500;
    text-align: center;
}

.created-date {
    color: #666;
    font-size: 0.875rem;
    text-align: center;
}

.actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.pagination-btn:hover {
    background: #0056b3;
}

.pagination-info {
    color: #666;
    font-weight: 500;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

/* Additional responsive design for new features */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .profile-info-display {
        grid-template-columns: 1fr;
    }

    .users-table-container {
        overflow-x: auto;
    }

    .users-table {
        min-width: 800px;
    }

    .user-dropdown {
        right: -50px;
    }

    .users-stats {
        flex-direction: column;
        align-items: center;
    }

    .pagination {
        flex-direction: column;
        gap: 12px;
    }

    .tab-button {
        font-size: 0.875rem;
        padding: 12px 16px;
    }

    .post-item {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .post-rank {
        flex-shrink: 0 !important;
        order: 1 !important;
    }

    .post-vote {
        flex-shrink: 0 !important;
        order: 2 !important;
    }

    .post-content {
        flex: 1 !important;
        min-width: 0 !important;
        order: 3 !important;
    }

    .post-score {
        align-self: flex-start;
    }
}

/* Error page styles */
.content-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(30, 36, 50, 0.8);
    border-radius: 12px;
    line-height: 1.6;
}

.content-page h1 {
    color: #60a5fa;
    margin-bottom: 20px;
    font-size: 24px;
}

.content-page h2 {
    color: #a78bfa;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.content-page p {
    margin-bottom: 15px;
}

.content-page a {
    color: #60a5fa;
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

/* Alert styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* Form styles */
.contact-form, .report-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e1e5f0;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(30, 36, 50, 0.8);
    border: 1px solid #4b5563;
    border-radius: 8px;
    color: #e1e5f0;
    font-size: 14px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

/* Profile styles */
.profile-share {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.profile-share h3 {
    color: #60a5fa;
    margin-bottom: 10px;
    font-size: 14pt;
}

.bookmarklet-container {
    margin: 15px 0;
}

.bookmarklet {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.5);
    cursor: grab;
}

.bookmarklet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    text-decoration: none;
    color: white;
}

.bookmarklet:active {
    cursor: grabbing;
}

.share-instructions {
    margin-top: 15px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 4px;
    border-left: 3px solid #3b82f6;
}

.share-instructions p {
    font-size: 9pt;
    color: #9ca3af;
    margin: 0;
}

/* Admin tools styles */
.admin-tools {
    background: rgba(220, 38, 127, 0.1);
    border: 1px solid rgba(220, 38, 127, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.admin-tools h4 {
    color: #f472b6;
    margin-bottom: 10px;
    font-size: 12pt;
}

.btn-admin {
    background: linear-gradient(135deg, #dc2626 0%, #dc2670 100%);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 112, 0.3);
}

.btn-admin:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 112, 0.4);
}

.btn-admin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-copy {
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 9pt;
    cursor: pointer;
    margin-left: 10px;
}

.invite-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    padding: 15px;
    margin-top: 10px;
}

.invite-info {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    color: #10b981;
    font-weight: bold;
    text-align: center;
}

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 10px;
    color: #ef4444;
}

/* Admin delete button styles */
.admin-delete-btn {
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 8pt;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.admin-delete-btn:hover {
    background: rgba(239, 68, 68, 1);
    opacity: 1;
    transform: scale(1.05);
}

/* User delete button styles */
.user-delete-btn {
    background: rgba(245, 101, 101, 0.7);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 8pt;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.user-delete-btn:hover {
    background: rgba(245, 101, 101, 0.9);
    opacity: 1;
    transform: scale(1.05);
}
.profile-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    background: rgba(30, 36, 50, 0.8);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.profile-stats .stat {
    color: #9ca3af;
}

.profile-stats .stat strong {
    color: #60a5fa;
    font-size: 18px;
}

.user-posts, .user-comments {
    margin-bottom: 30px;
}

.user-post, .user-comment {
    display: flex;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.user-post:hover, .user-comment:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.user-post .post-score, .user-comment .comment-score {
    min-width: 45px;
    text-align: center;
    color: #1f2937;
    font-weight: bold;
    font-size: 14px;
    background: #f3f4f6;
    padding: 8px 4px;
    border-radius: 6px;
    height: fit-content;
}

.user-post .post-content, .user-comment .comment-content {
    flex: 1;
    min-width: 0;
}

.user-post .post-title {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
}

.user-post .post-title:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.user-post .post-meta, .user-comment .comment-meta {
    font-size: 13px;
    color: #4b5563;
    margin-top: 6px;
    line-height: 1.3;
}

.user-post .post-meta a, .user-comment .comment-meta a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.user-post .post-meta a:hover, .user-comment .comment-meta a:hover {
    color: #047857;
    text-decoration: underline;
}

.user-comment .comment-text {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
}

/* Section headers in user profiles */
.profile-container h2 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

/* Settings styles */
.settings-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.settings-section {
    background: rgba(30, 36, 50, 0.8);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.settings-section h2 {
    color: #60a5fa;
    margin-bottom: 15px;
    font-size: 18px;
}

.danger-zone {
    border: 1px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.danger-zone h2 {
    color: #ef4444;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Profile Account Section */
.profile-account {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border: 1px solid #4b5563;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-account h3 {
    color: #d1d5db;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #4b5563;
}

.account-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-action {
    background: rgba(156, 163, 175, 0.05);
    border: 1px solid rgba(156, 163, 175, 0.2);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.account-action:hover {
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.3);
}

.account-action h4 {
    color: #f3f4f6;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.account-action p {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Profile GDPR Section */
.profile-gdpr {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-gdpr h3 {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #475569;
}

.gdpr-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gdpr-action {
    background: rgba(148, 163, 184, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.gdpr-action:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.3);
}

.gdpr-action h4 {
    color: #e2e8f0;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.gdpr-action p {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gdpr-action.danger-zone {
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
}

.gdpr-action.danger-zone:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.5);
}

.gdpr-action.danger-zone h4 {
    color: #fca5a5;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

@media (max-width: 768px) {
    .gdpr-section {
        gap: 15px;
    }
    
    .gdpr-action {
        padding: 12px;
    }
    
    .profile-gdpr {
        margin: 15px 0;
        padding: 15px;
    }
}

/* Admin styles */
.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.admin-container h1 {
    color: #fbbf24;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.users-table {
    background: rgba(30, 36, 50, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.users-table td {
    padding: 15px;
    border-top: 1px solid #374151;
}

.admin-badge {
    color: #fbbf24;
    margin-left: 8px;
}

.admin-protected {
    color: #10b981;
    font-style: italic;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}.btn-small {
}

/* Credential Cards Styles */

/* Credential Cards Styles */
.credential-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.credential-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

.credential-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.credential-filename {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    word-break: break-all;
}

.credential-info {
    space-y: 6px;
}

.credential-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
}

.detail-label {
    font-weight: 500;
    color: #6b7280;
    min-width: 60px;
}

.detail-value {
    font-weight: 600;
    color: #374151;
    text-align: right;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Color variants for different credential types */
.credential-card .text-blue-500 { color: #3b82f6; }
.credential-card .text-green-500 { color: #10b981; }
.credential-card .text-purple-500 { color: #8b5cf6; }
.credential-card .text-orange-500 { color: #f59e0b; }
.credential-card .text-red-500 { color: #ef4444; }
.credential-card .text-teal-500 { color: #14b8a6; }

/* Analysis Dashboard Styles */
.analysis-dashboard {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.analysis-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Section Headers */
.analysis-section-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: white;
}

.authenticated-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.credentials-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.summary-section {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

.section-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-number {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Bodies */
.analysis-section-body {
    padding: 0;
}

.analysis-table-container {
    overflow-x: auto;
}

.analysis-table {
    width: 100%;
    border-collapse: collapse;
}

.analysis-table th {
    background: #f8fafc;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.analysis-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    vertical-align: top;
}

.analysis-table tbody tr:hover {
    background: #f8fafc;
}

/* Table Row Styles */
.empty-row td {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-style: italic;
}

.empty-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.highlight-row {
    background: linear-gradient(90deg, #fef3c7 0%, #fbbf24 1%, #fef3c7 100%);
}

.highlight-row:hover {
    background: linear-gradient(90deg, #fde68a 0%, #f59e0b 1%, #fde68a 100%);
}

/* Cell Styles */
.filename-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.project-cell {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #6b7280;
}

.client-id-cell {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #9ca3af;
}

.redirect-cell {
    font-size: 11px;
    color: #4b5563;
    max-width: 200px;
    word-wrap: break-word;
}

.account-cell .account-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-cell strong {
    color: #1f2937;
    font-weight: 600;
}

.account-cell small {
    color: #6b7280;
    font-size: 12px;
}

.file-status-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-status-cell small {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #9ca3af;
}

.recommendation-cell {
    max-width: 150px;
}

/* Badge Styles */
.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.web-app {
    background: #dbeafe;
    color: #1e40af;
}

.installed-app {
    background: #f3e8ff;
    color: #7c3aed;
}

.compat-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.compat-badge.partial {
    background: #fef3c7;
    color: #92400e;
}

.compat-badge.good {
    background: #d1fae5;
    color: #065f46;
}

.compat-badge.excellent {
    background: #fde68a;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.compat-badge.limited {
    background: #fee2e2;
    color: #991b1b;
}

.db-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.db-badge.enabled {
    background: #d1fae5;
    color: #065f46;
}

.db-badge.disabled {
    background: #fee2e2;
    color: #991b1b;
}

.file-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.file-badge.found {
    background: #dbeafe;
    color: #1e40af;
}

.auth-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.auth-badge.not-auth {
    background: #f3f4f6;
    color: #6b7280;
}

.auth-badge.authenticated {
    background: #d1fae5;
    color: #065f46;
}

.match-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.match-badge.perfect {
    background: #d1fae5;
    color: #065f46;
}

.rec-badge {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.rec-badge.ready {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.rec-badge.recommended {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.rec-badge.activate {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.recommended-badge {
    background: #f59e0b;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.3px;
}

.legacy-badge {
    background: #6b7280;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.3px;
}

/* Analysis Footer */
.analysis-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.analysis-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
}

.insight-card.insight-good {
    border-left-color: #10b981;
}

.insight-card.insight-warning {
    border-left-color: #f59e0b;
}

.insight-card.insight-info {
    border-left-color: #3b82f6;
}

.insight-card i {
    font-size: 20px;
    margin-top: 2px;
}

.insight-card.insight-good i {
    color: #10b981;
}

.insight-card.insight-warning i {
    color: #f59e0b;
}

.insight-card.insight-info i {
    color: #3b82f6;
}

.insight-content h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.insight-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .analysis-section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .analysis-insights {
        grid-template-columns: 1fr;
    }
    
    .insight-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Action Buttons for Credentials */
.actions-cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.credential-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.use-credential-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid #059669;
}

.use-credential-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.test-credential-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 1px solid #2563eb;
}

.test-credential-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Quick Action Buttons */
.quick-actions {
    margin-top: 8px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.apply-recommended {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: 1px solid #d97706;
}

.apply-recommended:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}

.inline-form {
    display: inline-block;
    margin: 0;
}

/* Button Icons */
.action-btn i, .quick-action-btn i {
    font-size: 12px;
}

/* Enhanced Admin Users Table Styles */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.admin-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.875rem;
}

.admin-table th:first-child {
    border-top-left-radius: 8px;
}

.admin-table th:last-child {
    border-top-right-radius: 8px;
}

.admin-table td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.admin-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Table Cell Styles */
.user-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.user-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.karma-score {
    font-weight: 600;
    color: #059669;
}

.stat-number {
    font-weight: 500;
    color: #374151;
}

.date-text {
    color: #64748b;
    font-size: 13px;
}

/* Admin Protected Styling */
.admin-protected {
    color: #10b981;
    font-style: italic;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-state h3 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Table Responsive Wrapper */
.table-responsive {
    overflow-x: auto;
    margin: -1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .credential-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .action-btn {
        min-width: auto;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .action-btn span {
        display: none;
    }

    /* Mobile table adjustments */
    .admin-table th,
    .admin-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .admin-table th:nth-child(3),
    .admin-table td:nth-child(3),
    .admin-table th:nth-child(5),
    .admin-table td:nth-child(5),
    .admin-table th:nth-child(6),
    .admin-table td:nth-child(6),
    .admin-table th:nth-child(7),
    .admin-table td:nth-child(7) {
        display: none;
    }
    
    .user-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .admin-delete-btn span {
        display: none;
    }
}

/* Admin Settings Specific Styles */
.settings-section {
    padding: 0;
}

.settings-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-description {
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.current-value {
    color: #059669;
    font-weight: 500;
}

.settings-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-select {
    width: 100%;
    max-width: 300px;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-actions {
    margin-top: 20px;
}

.settings-note {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.note-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.note-icon {
    color: #3b82f6;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.note-content div {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

/* Alert styles for admin pages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #047857;
}

.alert.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

/* Phase 2: Enhanced Component Animations and Interactions */

/* Admin Action Button Enhancements */
.admin-action-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.admin-action-btn::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;
}

.admin-action-btn:hover::before {
    left: 100%;
}

.admin-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.admin-action-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s;
}

/* Special Actions Section Styling */
.admin-special-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin: 20px 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
}

/* Animated Stats Cards */
.animated-stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.animated-stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.animated-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.animated-stat-card:hover::after {
    opacity: 1;
}

/* Animated Card Component */
.animated-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.animated-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Admin Header Animation Improvements */
.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Improved Button Hover States */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
    transition: all 0.1s;
}

/* Loading Animation for Stat Numbers */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.admin-stat-number {
    animation: countUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: backwards;
}

/* Stagger animation delays for multiple stats */
.admin-stat-card:nth-child(1) .admin-stat-number { animation-delay: 0.1s; }
.admin-stat-card:nth-child(2) .admin-stat-number { animation-delay: 0.2s; }
.admin-stat-card:nth-child(3) .admin-stat-number { animation-delay: 0.3s; }
.admin-stat-card:nth-child(4) .admin-stat-number { animation-delay: 0.4s; }
.admin-stat-card:nth-child(5) .admin-stat-number { animation-delay: 0.5s; }
.admin-stat-card:nth-child(6) .admin-stat-number { animation-delay: 0.6s; }

/* Form Focus States Improvement */
.form-select:focus,
.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

/* Pulse Animation for Important Actions */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.btn-primary:hover {
    animation: pulse 2s infinite;
}

/* Table Row Animation */
.admin-table tbody tr {
    transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
    transform: translateX(4px);
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.05);
}

/* Alert Animation */
.alert {
    animation: slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .admin-action-btn:hover,
    .animated-stat-card:hover,
    .animated-card:hover,
    .admin-table tbody tr:hover {
        transform: none; /* Disable hover animations on mobile */
    }
    
    .btn:hover {
        transform: none;
    }
    
    .admin-special-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #f8fafc;
    margin-top: 40px;
    padding: 30px 0 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 6px;
}

.footer-link:hover {
    color: #f8fafc;
    background: rgba(148, 163, 184, 0.1);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.contact-item svg {
    color: #60a5fa;
    flex-shrink: 0;
}

.copyright {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    font-size: 12px;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-link {
        display: block;
        margin: 0 auto;
    }
    
    footer {
        padding: 25px 15px 15px;
    }
}

/* Adjust main content to accommodate footer */
body {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Toggle Switch Styles for Admin Settings */
.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    padding: 12px 0;
}

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

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #cbd5e1;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
    background-color: #10b981;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #374151;
}

.toggle-label i {
    color: #6b7280;
    font-size: 16px;
}

.toggle-switch:hover .toggle-slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.toggle-switch input[type="checkbox"]:checked:hover + .toggle-slider {
    background-color: #059669;
}

/* Form Actions spacing for toggle forms */
.settings-form .form-actions {
    margin-top: 16px;
}

/* Status indicators in settings descriptions */
.current-value {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    font-size: 0.9em;
    color: #059669;
}

.current-value strong {
    color: #047857;
}

/* Settings section spacing improvement */
.settings-section + .settings-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWSLETTER ADMIN — Redesign UI/UX
   ═══════════════════════════════════════════════════════════════════════════ */

/* Alertes */
.nl-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  position: relative;
  animation: nl-slide-in 0.3s ease;
}
@keyframes nl-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nl-alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.nl-alert-danger  { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.nl-alert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  line-height: 1;
  padding: 0 0.25rem;
}
.nl-alert-close:hover { opacity: 1; }

/* Statistiques */
.nl-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .nl-stats-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .nl-stats-row { grid-template-columns: repeat(2, 1fr); } }

.nl-stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nl-stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.nl-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nl-stat-total  .nl-stat-icon { background: #eff6ff; color: #3b82f6; }
.nl-stat-active .nl-stat-icon { background: #f0fdf4; color: #22c55e; }
.nl-stat-auth   .nl-stat-icon { background: #faf5ff; color: #a855f7; }
.nl-stat-posts  .nl-stat-icon { background: #fff7ed; color: #f97316; }
.nl-stat-errors .nl-stat-icon { background: #fef2f2; color: #ef4444; }

.nl-stat-body { display: flex; flex-direction: column; }
.nl-stat-number { font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: #111827; }
.nl-stat-label  { font-size: 0.75rem; color: #6b7280; margin-top: 1px; }

/* Sections */
.nl-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nl-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.nl-section-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nl-section-header h2 i { color: #6b7280; font-size: 0.9rem; }
.nl-section-header-right { display: flex; align-items: center; gap: 0.75rem; }
.nl-count-badge {
  background: #e5e7eb;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.nl-section-body { padding: 1.25rem 1.5rem; }

/* Chevron collapsible */
.nl-chevron { color: #9ca3af; transition: transform 0.2s; }
.nl-chevron-open { transform: rotate(180deg); }

/* Grille de comptes */
.nl-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1px;
  background: #e5e7eb;
}
@media (max-width: 540px) { .nl-accounts-grid { grid-template-columns: 1fr; } }

/* Carte compte */
.nl-account-card {
  display: flex;
  background: #fff;
  transition: background 0.15s;
}
.nl-account-card:hover { background: #fafafa; }
.nl-account-disabled { opacity: 0.7; }

.nl-account-status-bar {
  width: 4px;
  flex-shrink: 0;
}
.nl-bar-ok   { background: #22c55e; }
.nl-bar-warn { background: #f59e0b; }
.nl-bar-off  { background: #d1d5db; }

.nl-account-body { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }

/* En-tête compte */
.nl-account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.nl-account-identity { display: flex; align-items: center; gap: 0.75rem; }

.nl-account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.nl-avatar-ok   { background: #d1fae5; color: #059669; }
.nl-avatar-warn { background: #fef3c7; color: #d97706; }
.nl-avatar-off  { background: #f3f4f6; color: #9ca3af; }

.nl-account-info { display: flex; flex-direction: column; }
.nl-account-name  { font-size: 0.95rem; font-weight: 600; color: #111827; }
.nl-account-email { font-size: 0.8rem; color: #6b7280; }
.nl-account-desc  { font-size: 0.75rem; color: #9ca3af; margin-top: 1px; }

/* Badges statut */
.nl-account-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: flex-start; }
.nl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.nl-badge-active   { background: #d1fae5; color: #065f46; }
.nl-badge-disabled { background: #f3f4f6; color: #6b7280; }
.nl-badge-auth     { background: #ede9fe; color: #5b21b6; }
.nl-badge-noauth   { background: #fef3c7; color: #92400e; }

/* Métriques */
.nl-account-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.nl-metric {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #6b7280;
}
.nl-metric i { font-size: 0.75rem; }
.nl-metric-error { color: #dc2626; }

/* Filtres */
.nl-account-filters {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.nl-filter-mode {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nl-filter-include { background: #d1fae5; color: #065f46; }
.nl-filter-exclude { background: #fee2e2; color: #991b1b; }
.nl-filter-tag {
  font-size: 0.72rem;
  background: #f3f4f6;
  color: #374151;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Erreur compte */
.nl-account-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}
.nl-account-error span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions compte */
.nl-account-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

/* Boutons actions */
.nl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nl-btn-sm { padding: 0.3rem 0.6rem; font-size: 0.73rem; }

.nl-btn-toggle  { background: #f3f4f6; color: #374151; border-color: #d1d5db; }
.nl-btn-toggle:hover { background: #e5e7eb; }

.nl-btn-auth  { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.nl-btn-auth:hover { background: #dbeafe; }

.nl-btn-revoke { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.nl-btn-revoke:hover { background: #ffedd5; }

.nl-btn-test    { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.nl-btn-test:hover { background: #dcfce7; }

.nl-btn-filters { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; }
.nl-btn-filters:hover { background: #f3e8ff; }

.nl-btn-delete  { background: transparent; color: #9ca3af; border-color: #e5e7eb; padding: 0.4rem 0.6rem; }
.nl-btn-delete:hover { background: #fef2f2; color: #dc2626; border-color: #fca5a5; }

.nl-btn-page { background: #fff; color: #374151; border-color: #d1d5db; }
.nl-btn-page:hover { background: #f9fafb; }

.nl-btn-primary-lg {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}
.nl-btn-primary-lg:hover { background: #2563eb; }

/* Pagination */
.nl-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid #f3f4f6;
}
.nl-pagination-info { font-size: 0.82rem; color: #6b7280; }
.nl-pagination-btns { display: flex; gap: 0.5rem; }

/* État vide */
.nl-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}
.nl-empty-icon { font-size: 3rem; color: #d1d5db; margin-bottom: 1rem; }
.nl-empty h3 { font-size: 1.1rem; color: #374151; margin: 0 0 0.5rem; }
.nl-empty p { font-size: 0.875rem; margin: 0 0 1.5rem; }
.nl-empty-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Credentials */
.nl-credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.nl-cred-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.nl-cred-recommended { border-color: #a78bfa; background: #faf5ff; }
.nl-cred-ribbon {
  position: absolute;
  top: 0.5rem;
  right: -0.5rem;
  background: #7c3aed;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.9rem;
  transform: rotate(0deg);
  border-radius: 0 4px 4px 0;
}
.nl-cred-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.nl-cred-head > i { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.nl-icon-web      { color: #3b82f6; }
.nl-icon-installed { color: #6b7280; }
.nl-cred-info { display: flex; flex-direction: column; min-width: 0; }
.nl-cred-filename {
  font-size: 0.78rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nl-cred-meta { font-size: 0.72rem; color: #9ca3af; margin-top: 2px; }

.nl-cred-score { margin-bottom: 0.75rem; }
.nl-compat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.nl-compat-excellent { background: #d1fae5; color: #065f46; }
.nl-compat-good      { background: #dbeafe; color: #1e40af; }
.nl-compat-partial   { background: #fef3c7; color: #92400e; }
.nl-compat-limited   { background: #fee2e2; color: #991b1b; }
.nl-cred-actions { display: flex; gap: 0.5rem; }

/* Aide */
.nl-help {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  margin-top: 1.5rem;
}
.nl-help-icon { color: #3b82f6; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.nl-help-content { font-size: 0.82rem; color: #1e40af; }
.nl-help-content strong { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; }
.nl-help-content ul { margin: 0; padding-left: 1.2rem; }
.nl-help-content li { margin-bottom: 0.3rem; }
.nl-help-content code {
  background: #dbeafe;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDIT FILTERS PAGE — ef-* design system
   ═══════════════════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.ef-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ef-breadcrumb a { color: #3b82f6; text-decoration: none; }
.ef-breadcrumb a:hover { text-decoration: underline; }
.ef-bc-sep { font-size: 0.6rem; color: #d1d5db; }

/* En-tête */
.ef-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ef-header-left { display: flex; align-items: center; gap: 1rem; }
.ef-account-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.ef-avatar-active { background: #d1fae5; color: #059669; }
.ef-avatar-off    { background: #f3f4f6; color: #9ca3af; }
.ef-title    { font-size: 1.35rem; font-weight: 700; color: #111827; margin: 0 0 0.2rem; }
.ef-subtitle { font-size: 0.85rem; color: #6b7280; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; }

/* Layout deux colonnes */
.ef-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 860px) { .ef-layout { grid-template-columns: 1fr; } }

.ef-main  { display: flex; flex-direction: column; gap: 1.5rem; }
.ef-aside { display: flex; flex-direction: column; gap: 1.5rem; }

/* Mode toggle */
.ef-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 560px) { .ef-mode-toggle { grid-template-columns: 1fr; } }

.ef-mode-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: #fff;
}
.ef-mode-option input[type="radio"] { display: none; }
.ef-mode-option:hover { border-color: #93c5fd; background: #eff6ff; }
.ef-mode-selected { border-color: #3b82f6 !important; background: #eff6ff !important; }

.ef-mode-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ef-mode-include { background: #d1fae5; color: #059669; }
.ef-mode-exclude { background: #fee2e2; color: #dc2626; }

.ef-mode-text { display: flex; flex-direction: column; gap: 0.2rem; }
.ef-mode-text strong { font-size: 0.88rem; color: #111827; }
.ef-mode-text span   { font-size: 0.75rem; color: #6b7280; line-height: 1.4; }

/* Champs */
.ef-fields-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.ef-field { display: flex; flex-direction: column; gap: 0.35rem; }

.ef-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}
.ef-label-icon { font-size: 0.8rem; }
.ef-icon-email   { color: #3b82f6; }
.ef-icon-name    { color: #8b5cf6; }
.ef-icon-subject { color: #10b981; }

.ef-textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #111827;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  line-height: 1.5;
}
.ef-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.ef-field-hint  { font-size: 0.75rem; color: #9ca3af; margin: 0; }
.ef-hint-inline { font-size: 0.73rem; color: #9ca3af; }

/* Actions formulaire */
.ef-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 0 0;
}
.ef-actions-right { display: flex; gap: 0.5rem; align-items: center; }
.ef-btn-clear { color: #9ca3af; }
.ef-btn-clear:hover { color: #dc2626; background: #fef2f2; border-color: #fca5a5; }
.ef-btn-save {
  padding: 0.55rem 1.5rem !important;
  font-size: 0.88rem !important;
  background: #3b82f6 !important;
  color: #fff !important;
  border-color: #3b82f6 !important;
}
.ef-btn-save:hover { background: #2563eb !important; }

/* Prévisualisation */
.ef-preview-section .nl-section-body { min-height: 80px; }
.ef-preview-empty {
  color: #9ca3af;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.ef-preview-mode { margin-bottom: 0.75rem; }
.ef-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ef-preview-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
}
.ef-preview-list li i  { font-size: 0.7rem; width: 14px; text-align: center; }
.ef-preview-list li em { color: #9ca3af; font-style: normal; }

/* Requête Gmail */
.ef-query-code {
  display: block;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  color: #374151;
  word-break: break-all;
  margin-bottom: 1rem;
}

/* Pipeline Gmail → Filtres → Posts */
.ef-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.ef-flow-step {
  width: 100%;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ef-flow-final { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.ef-flow-arrow { color: #d1d5db; font-size: 0.7rem; }

/* Exemples */
.ef-example {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: #374151;
}
.ef-example:last-child { margin-bottom: 0; }
.ef-example strong { display: block; margin-bottom: 0.4rem; color: #111827; font-size: 0.82rem; }
.ef-example ul { margin: 0; padding-left: 1rem; color: #6b7280; }
.ef-example li { margin-bottom: 0.15rem; }
.ef-example-apply {
  float: right;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background 0.15s;
}
.ef-example-apply:hover { background: #dbeafe; }
