/* === Global Reset & Variables === */
:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #81c784;
    --accent: #a5d6a7;
    --light-bg: #fafdf7;
    --light-gray: #f0f7ed;
    --text-dark: #1e2e1c;
    --text-muted: #5a7152;
    --white: #ffffff;
    --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-md: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.01);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.15);
    --border-radius: 24px;
    --border-radius-sm: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Typography === */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(46,125,50,0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46,125,50,0.3);
}

.btn-outline {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* === Header & Navigation === */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-weight: 400;
    color: var(--text-dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

/* === Hero Section === */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0 8rem;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(27,62,23,0.8) 0%, rgba(46,125,50,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 5%;
}

.hero .subhead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* === Trusted Section === */
.trusted {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.logo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem 5rem;
    margin-top: 2rem;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-item i {
    color: var(--primary);
    font-size: 1.8rem;
}

/* === Stats Section === */
.stats {
    padding: 5rem 0;
    background: var(--light-gray);
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-sub {
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(46,125,50,0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* === Future Farming === */
.future-farming {
    padding: 5rem 0;
    background: white;
}

.future-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.future-text h2 {
    margin-bottom: 1.5rem;
}

.future-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.future-features {
    list-style: none;
    margin-top: 1.5rem;
}

.future-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.future-features i {
    color: var(--primary);
    font-size: 1.2rem;
}

.future-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* === Knowledge & Tools (Cards) === */
.knowledge-tools {
    padding: 5rem 0;
    background: var(--light-gray);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.card-body h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.card-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    margin-top: auto;
}

.read-more:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* === Footer === */
footer {
    background: #1b2e18;
    color: #e0f0dc;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 3rem 24px;
}

.footer-about h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-about i {
    color: var(--secondary);
}

.footer-about p {
    opacity: 0.9;
}

.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .future-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .future-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav a {
        font-size: 1.2rem;
    }

    /* Toggle animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    .hero .subhead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-wave {
        display: none;
    }
    .hero {
        padding: 4rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .logo-grid {
        gap: 1.5rem;
    }
    .logo-item {
        font-size: 1.2rem;
    }
}

/* ===== Halaman Berita ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.95;
    font-size: 1.1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.news-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-card-body h3 a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.news-card-body h3 a:hover {
    color: var(--primary);
}

.news-card-body p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    flex: 1;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 50px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.pagination a.active {
    background: var(--primary);
    color: white;
}

.pagination-prev,
.pagination-next {
    padding: 0 20px !important;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

/* ===== Halaman Detail ===== */
.detail-hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.detail-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.detail-meta {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.detail-featured-image {
    margin: 0 0 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.detail-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e2a;
    margin-bottom: 2.5rem;
}

.detail-body p {
    margin-bottom: 1.5rem;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #d0e0ca;
    padding-top: 2rem;
    margin-top: 1rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-buttons span {
    color: var(--text-muted);
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.share-buttons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.related-news {
    padding: 4rem 0;
    background: var(--light-gray);
}

.related-news h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive untuk halaman berita & detail */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-actions {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .pagination-numbers {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-body {
    background: #f4f9f0;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: #1b2e18;
    color: #e0f0dc;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
}

.sidebar-header {
    padding: 1.8rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header i {
    color: #81c784;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1rem;
    color: #c0d6ba;
    border-radius: 12px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-item i {
    width: 24px;
    font-size: 1.1rem;
}

.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.nav-item.active {
    background: #2e7d32;
    color: white;
}

.nav-logout {
    margin-top: auto;
    color: #ef9a9a;
}

.nav-logout:hover {
    background: rgba(198,40,40,0.2);
    color: #ffcdd2;
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: 260px;
    background: #f4f9f0;
    min-height: 100vh;
}

.admin-topbar {
    background: white;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 40;
}

.admin-topbar h1 {
    font-size: 1.8rem;
    color: #1b3b17;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2e7d32;
    font-weight: 500;
}

.admin-content {
    padding: 2rem;
}

/* Cards */
.welcome-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.welcome-card h2 {
    color: #1b3b17;
    margin-bottom: 0.5rem;
}

.admin-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2ecd9;
}

.card-header h3 {
    color: #1b3b17;
    font-size: 1.3rem;
}

.card-body {
    padding: 2rem;
}

/* Stats Admin */
.stats-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-admin {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stat-icon-admin {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #2e7d32;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number-admin {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b3b17;
    line-height: 1.2;
}

.stat-label {
    color: #5a7152;
}

.quick-actions h3 {
    margin-bottom: 1rem;
    color: #1b3b17;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e2e1c;
}

.form-group input[type="text"],
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #d0e0ca;
    border-radius: 16px;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

.current-image {
    margin-top: 0.8rem;
}

.current-image img {
    max-width: 200px;
    border-radius: 12px;
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 1rem 1rem;
    background: #f4f9f0;
    color: #1b3b17;
    font-weight: 600;
    border-bottom: 1px solid #d0e0ca;
}

.admin-table td {
    padding: 1rem 1rem;
    border-bottom: 1px solid #e2ecd9;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #fafdf7;
}

.table-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.no-image {
    color: #9eae9a;
    font-style: italic;
}

.action-cell {
    white-space: nowrap;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f7ed;
    color: #2e7d32;
    margin-right: 5px;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #2e7d32;
    color: white;
    transform: translateY(-2px);
}

.btn-icon.delete:hover {
    background: #c62828;
    color: white;
}

/* Alerts di Admin */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 5px solid #2e7d32;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
    border-left: 5px solid #c62828;
}

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
    }
    .sidebar-header span,
    .nav-item span {
        display: none;
    }
    .sidebar-header {
        justify-content: center;
        padding: 1.5rem 0;
    }
    .nav-item {
        justify-content: center;
        padding: 1rem 0;
    }
    .admin-main {
        margin-left: 80px;
    }
    .admin-topbar {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        position: static;
        width: 100%;
        flex-direction: row;
        padding: 0.5rem;
    }
    .sidebar-header {
        display: none;
    }
    .sidebar-nav {
        flex-direction: row;
        padding: 0;
        overflow-x: auto;
    }
    .nav-item {
        padding: 0.8rem 1.2rem;
        white-space: nowrap;
    }
    .admin-main {
        margin-left: 0;
    }
}

