:root {
    --primary: #b38b5d;      /* elegant gold-beige */
    --primary-light: #e5d5b8;
    --primary-dark: #8b6b47;
    --secondary: #3a4a5c;     /* muted navy */
    --background: #ffffff;
    --surface: #f9f7f4;       /* warm off-white */
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --border: #e0d9d0;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 32px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.9);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary-light);
}

.user-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.username {
    font-weight: 500;
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 12px 32px;
    font-size: 1rem;
}

/* Main content */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* Hero section with images */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--surface) 0%, #ffffff 100%);
    margin-bottom: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-text .highlight {
    color: var(--primary);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-images {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.mockup {
    position: absolute;
    width: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup-1 {
    transform: rotate(-11deg) translateX(20px);
    z-index: 1;
}

.mockup-2 {
    transform: rotate(0deg) scale(1.1);
    z-index: 2;
    width: 450px;
}

.mockup-3 {
    transform: rotate(8deg) translateX(-20px);
    z-index: 1;
}

.mockup:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA section */
.cta-section {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 64px 32px;
    text-align: center;
    color: white;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary);
}

.cta-download {
    margin-top: 32px;
    text-align: center;
}

.cta-download p {
    margin-bottom: 8px;
    color: white;
    opacity: 0.9;
}

/* Page header */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 24px;
}

/* About page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 40px 0 20px;
}

/* Features list for about page */
.features-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
    margin-top: 4px;
}

.feature-item h3 {
    margin-bottom: 4px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
}

/* Compact feature list */
.compact-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.compact-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.compact-feature-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

/* Support box */
.support-box {
    background: var(--surface);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: 100px;
    max-width: 320px;
}

.support-box h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-box h3 i {
    color: #e74c3c;
}

.support-box p {
    margin-bottom: 16px;
    color: var(--text);
    font-weight: 500;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.support-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.95rem;
}

.support-list li i {
    font-size: 1.1rem;
    color: var(--primary);
    min-width: 20px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.support-list li a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.support-list li a:hover {
    text-decoration: underline;
}

.donate-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 47px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    margin: 10px 0;
    transition: var(--transition);
}

.donate-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Updates page */
.updates-list {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-light);
    transition: var(--transition);
}

.update-item:hover {
    box-shadow: var(--shadow-md);
}

.update-date {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.update-item h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.update-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Auth forms */
.auth-form {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 139, 93, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.errors {
    color: #d14545;
    font-size: 0.85rem;
    margin-top: 4px;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Suggestions list */
.suggestions-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Redesigned suggestion card */
.suggestion-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.suggestion-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.suggestion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.suggestion-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.suggestion-title-area h2 {
    font-size: 1.3rem;
    margin: 0;
}

.suggestion-title-area h2 a {
    color: var(--secondary);
    text-decoration: none;
}

.suggestion-title-area h2 a:hover {
    color: var(--primary);
}

.category-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 40px;
    text-transform: uppercase;
}

.suggestion-vote-area {
    display: flex;
    align-items: center;
}

.vote-button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 6px 14px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

.vote-button i {
    font-size: 1.1rem;
}

.vote-button:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.02);
}

.vote-button.voted {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.vote-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.vote-count-inline {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.suggestion-description {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.suggestion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.suggestion-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.suggestion-meta i {
    color: var(--primary);
    font-size: 0.9rem;
}

.suggestion-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
    margin-top: 8px;
}

.suggestion-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 40px;
    background: #eaeaea;
    color: #777;
}

.status-pending { background: #f0e6d2; color: #8b6b47; }
.status-approved { background: #d2f0d2; color: #2e7d32; }
.status-rejected { background: #f0d2d2; color: #b33f3f; }
.status-implemented { background: #d2e0f0; color: #1e4a7a; }

.no-suggestions {
    text-align: center;
    color: var(--text-light);
    padding: 60px 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* Suggestion detail */
.suggestion-detail {
    max-width: 800px;
    margin: 0 auto;
}

.suggestion-detail .suggestion-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.suggestion-detail .suggestion-header h1 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-right: auto;
}

.status-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 40px;
}

.suggestion-detail .suggestion-meta {
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.suggestion-detail .suggestion-description {
    font-size: 1.1rem;
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
}

.suggestion-actions {
    margin: 32px 0;
}

/* Clickable suggestion card link */
.suggestion-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.suggestion-card-link:hover {
    transform: translateY(-2px);
}

.suggestion-card-link:hover .suggestion-header h1 {
    color: var(--primary);
}

/* Comments section */
.comments-section {
    margin-top: 48px;
}

.comments-section h2 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.comment {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.comment:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.comment-header strong {
    color: var(--secondary);
}

.comment-header i {
    color: var(--primary);
    margin-right: 4px;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.comment p {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 8px;
}

.btn-reply {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-reply:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.reply-form {
    margin-top: 12px;
    padding: 12px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.reply-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
}

.reply-form .btn-sm {
    padding: 4px 12px;
    font-size: 0.85rem;
}

.no-comments {
    color: var(--text-light);
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
}

.add-comment {
    margin-top: 32px;
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
}

.add-comment h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

/* Add suggestion form */
.add-suggestion-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.add-suggestion-form h1 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--secondary);
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: #f0f0f0;
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-about p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-about .google-play-badge {
    margin-top: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-social a:hover {
    color: white;
}

.footer-support .small {
    font-size: 0.8rem;
    color: #aaa;
}

.footer-support .rating {
    margin-top: 12px;
}

.footer-support .rating i {
    color: gold;
}

.footer-support .rating a {
    color: var(--primary-light);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: #aaa;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
}

/* Google Play badge */
.google-play-badge img {
    height: 50px;
    width: auto;
    display: inline-block;
    transition: var(--transition);
}

.google-play-badge:hover img {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Download link in nav */
.download-link {
    color: var(--primary) !important;
    font-weight: 600;
}

.download-link i {
    margin-right: 4px;
}

/* Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 40px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d2f0d2;
    color: #2e7d32;
    border: 1px solid #a5d6a5;
}

.alert-danger {
    background: #f0d2d2;
    color: #b33f3f;
    border: 1px solid #e6b3b3;
}

.alert-info {
    background: #d2e0f0;
    color: #1e4a7a;
    border: 1px solid #b0c9e0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-images {
        min-height: 300px;
        width: 100%;
    }
    .mockup {
        width: 480px;
    }
    .mockup-2 {
        width: 420px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .support-box {
        position: static;
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .suggestion-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .suggestion-vote-area {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .hero-buttons, .cta-buttons {
        flex-direction: column;
    }
    .mockup {
        width: 320px;
    }
    .mockup-2 {
        width: 300px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .suggestion-meta {
        gap: 12px;
    }
}


/* Legal pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.legal-page h1 {
    color: var(--secondary);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.legal-page .last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.legal-page section {
    margin-bottom: 32px;
}

.legal-page h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.legal-page p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-page ul {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Admin panel */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 2rem;
    color: var(--secondary);
}

.admin-header h1 i {
    color: var(--primary);
    margin-right: 10px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.admin-actions h2 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.action-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.action-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.action-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.action-card span {
    font-weight: 600;
}

/* Admin tables */
.admin-table {
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: collapse;
}

.admin-table th {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table .btn-sm {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.news-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.update-item .admin-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px;
}
.no-news {
    text-align: center;
    color: var(--text-light);
    padding: 40px;
}

/* Suggestions toolbar */
.suggestions-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.search-box {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-family: inherit;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-box select {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: white;
}

/* Static vote button (non-interactive) */
.vote-button.static {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text-light);
    cursor: default;
}

.vote-button.static:hover {
    transform: none;
    border-color: var(--border);
    color: var(--text-light);
}

/* Loading indicator */
.loading {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}

.loading i {
    margin-right: 8px;
    color: var(--primary);
}

.no-more {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .suggestions-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        max-width: 100%;
    }
    .sort-box {
        justify-content: space-between;
    }
}

.admin-search {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 250px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(179, 139, 93, 0.1);
}

.search-form button {
    padding: 8px 16px;
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .search-form input {
        width: 100%;
    }
}

.spinner {
    display: inline-block;
    margin-left: 8px;
    color: var(--primary);
}

/* News list */
.news-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-card {
    background: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

.news-card-inner {
    display: flex;
    flex-wrap: wrap;
}

.news-image {
    flex: 0 0 200px;
    background: var(--surface);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    flex: 1;
    padding: 24px;
}

.news-content h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.news-content h2 a {
    color: var(--secondary);
    text-decoration: none;
}

.news-content h2 a:hover {
    color: var(--primary);
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.read-more i {
    transition: transform 0.2s;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* News detail */
.news-full {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.news-header {
    margin-bottom: 30px;
}

.news-header h1 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.news-full-image {
    margin: 30px 0;
    text-align: center;
}

.news-full-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.news-full-content {
    line-height: 1.8;
    color: var(--text);
}

.news-full-content p {
    margin-bottom: 20px;
}

.news-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .news-card-inner {
        flex-direction: column;
    }
    .news-image {
        flex: 0 0 auto;
        max-height: 200px;
    }
    .news-image img {
        width: 100%;
        height: auto;
    }
    .news-full {
        padding: 20px;
    }
}