/* ============== Global Styles ============== */
:root {
    --primary: #FF7A00;
    --primary-dark: #E66A00;
    --secondary: #2C3E50;
    --accent-green: #27AE60;
    --accent-red: #E74C3C;
    --accent-purple: #8E44AD;
    --accent-blue: #3498DB;
    --bg-light: #F8F9FA;
    --bg-footer: #1A252F;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --text-white: #FFFFFF;
    --border-color: #E9ECEF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* ============== Buttons ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-success { background: var(--accent-green); color: #fff; }
.btn-danger { background: var(--accent-red); color: #fff; }
.btn-outline { background: transparent; border: 2px solid currentColor; }
.btn-outline:hover { background: currentColor; color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-md); }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ============== Navbar ============== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}
.nav-logo .logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), #FF9E4D);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(255,122,0,0.3);
}
.nav-menu { display: flex; gap: 4px; }
.nav-menu a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255,122,0,0.1);
    color: var(--primary);
}
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; font-size: 24px; background: none; }

/* ============== Hero Carousel ============== */
.hero-carousel {
    position: relative;
    height: 560px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.65) 0%, rgba(44,62,80,0.25) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
}
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,122,0,0.95);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    width: fit-content;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-sub {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 600px;
}
.hero-dots {
    position: absolute;
    bottom: 32px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active { background: var(--primary); width: 36px; border-radius: 6px; }

/* ============== Quick Entry ============== */
.quick-entry {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.quick-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.quick-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}
.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.quick-card:hover::before { opacity: 1; }
.quick-icon {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    transition: transform 0.4s;
}
.quick-card:hover .quick-icon { transform: scale(1.1) rotate(-5deg); }
.quick-icon.qc1 { background: linear-gradient(135deg, #FF7A00, #FF9E4D); }
.quick-icon.qc2 { background: linear-gradient(135deg, #2C3E50, #34495E); }
.quick-icon.qc3 { background: linear-gradient(135deg, #27AE60, #2ECC71); }
.quick-icon.qc4 { background: linear-gradient(135deg, #8E44AD, #9B59B6); }
.quick-title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.quick-desc { font-size: 13px; color: var(--text-light); }

/* ============== Stats ============== */
.stats-section { padding: 60px 0 40px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    background: linear-gradient(135deg, #fff 0%, #F8F9FA 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.stat-icon.s1 { background: rgba(255,122,0,0.1); color: var(--primary); }
.stat-icon.s2 { background: rgba(52,152,219,0.1); color: var(--accent-blue); }
.stat-icon.s3 { background: rgba(39,174,96,0.1); color: var(--accent-green); }
.stat-icon.s4 { background: rgba(142,68,173,0.1); color: var(--accent-purple); }
.stat-num { font-size: 32px; font-weight: 700; color: var(--secondary); line-height: 1.1; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ============== Section Headers ============== */
.section-wrap { padding: 50px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    position: relative;
    padding-left: 16px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), #FFB366);
    border-radius: 3px;
}
.section-more {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-more:hover { gap: 8px; }

/* ============== Latest News/Notices ============== */
.dynamics {
    background: linear-gradient(180deg, #F8F9FA 0%, #fff 100%);
}
.dyn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.dyn-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dyn-col h3 i {
    color: var(--primary);
    font-size: 22px;
}
.dyn-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    gap: 16px;
}
.dyn-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.dyn-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-red);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.dyn-tag.pin { background: var(--accent-red); }
.dyn-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dyn-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 16px;
}
.dyn-img {
    width: 120px; height: 90px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* ============== Vote Banner ============== */
.vote-banner {
    background: linear-gradient(90deg, var(--primary), #FF9E4D, var(--primary));
    background-size: 200% 100%;
    animation: shine 3s ease infinite;
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 50px;
}
@keyframes shine {
    0%,100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}
.vb-left { display: flex; align-items: center; gap: 16px; }
.vb-icon { font-size: 32px; }
.vb-title { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.vb-sub { opacity: 0.9; font-size: 13px; }
.vb-btn {
    background: #fff;
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}
.vb-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-md); }

/* ============== Gallery ============== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px;
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(44,62,80,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.gallery-caption p { font-size: 13px; opacity: 0.9; }

/* ============== Footer ============== */
.footer {
    background: var(--bg-footer);
    color: #BDC3C7;
    padding: 60px 0 30px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.qr-box {
    width: 110px; height: 110px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.qr-placeholder {
    width: 100%; height: 100%;
    background: repeating-conic-gradient(#2C3E50 0% 25%, #fff 0% 50%) 50% / 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--primary);
    font-weight: 700;
}
.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.footer ul li {
    padding: 6px 0;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}
.footer ul li:hover { color: var(--primary); padding-left: 6px; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* ============== Breadcrumb ============== */
.breadcrumb-bar {
    background: linear-gradient(135deg, var(--secondary), #34495E);
    color: #fff;
    padding: 50px 0;
    margin-bottom: 40px;
}
.bc-inner h1 { font-size: 32px; margin-bottom: 12px; }
.bc-nav { font-size: 14px; opacity: 0.85; }
.bc-nav a:hover { color: var(--primary); }
.bc-nav span { margin: 0 8px; opacity: 0.6; }

/* ============== Notice List ============== */
.filter-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.pill {
    padding: 8px 22px;
    border-radius: 30px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}
.pill:hover { background: rgba(255,122,0,0.08); }
.pill.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,122,0,0.3);
}
.notice-list > * { margin-bottom: 16px; }
.notice-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary);
    transition: all 0.3s;
    position: relative;
}
.notice-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.notice-item.cat-activity { border-left-color: var(--accent-green); }
.notice-item.cat-emergency { border-left-color: var(--accent-red); }
.notice-item.cat-policy { border-left-color: var(--accent-blue); }
.notice-item.cat-general { border-left-color: var(--primary); }
.pin-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--accent-red);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 10px;
}
.n-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.n-title:hover { color: var(--primary); }
.n-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}
.n-meta i { margin-right: 4px; }

/* ============== Detail Page ============== */
.detail-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.detail-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary);
}
.detail-meta {
    display: flex;
    gap: 24px;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
}
.detail-meta i { color: var(--primary); margin-right: 6px; }
.detail-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
}
.detail-content p { margin-bottom: 18px; }
.detail-content h3 { font-size: 20px; margin: 28px 0 14px; color: var(--secondary); }
.detail-content ul { padding-left: 24px; }
.detail-content ul li { list-style: disc; margin-bottom: 8px; }
.detail-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.dn-item {
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}
.dn-item:hover { background: var(--primary); color: #fff; }
.dn-label { font-size: 12px; opacity: 0.7; margin-bottom: 6px; }
.dn-title { font-weight: 500; font-size: 14px; }

/* ============== News Grid ============== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.news-cover {
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.news-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s;
}
.news-card:hover .news-cover::after { opacity: 1; }
.news-body { padding: 22px; }
.news-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-title { color: var(--primary); }
.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}
.news-foot .read-more {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-foot .read-more:hover { gap: 8px; }

/* ============== Activity List ============== */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.activity-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    position: relative;
}
.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.ac-cover {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.status-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}
.status-ongoing { background: var(--accent-green); }
.status-upcoming { background: var(--accent-blue); }
.status-ended { background: #95A5A6; }
.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}
.status-ongoing .status-dot { animation: blink 1.5s infinite; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.ac-body { padding: 24px; }
.ac-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.activity-card:hover .ac-title { color: var(--primary); }
.ac-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ac-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-dark);
}
.ac-info div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ac-info i { color: var(--primary); }
.ac-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.progress {
    height: 8px;
    background: #ECF0F1;
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    max-width: 180px;
    margin-right: 16px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #FFB366);
    border-radius: 4px;
    transition: width 0.6s;
}
.reg-count { font-size: 13px; color: var(--text-light); font-weight: 500; }
.reg-count span { color: var(--primary); font-size: 16px; font-weight: 700; }

/* ============== Activity Detail Hero ============== */
.activity-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.activity-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(44,62,80,0.9));
}
.ah-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
    color: #fff;
}
.ah-tags { margin-bottom: 14px; display: flex; gap: 10px; }
.ah-tag {
    padding: 5px 14px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 13px;
}
.ah-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.ah-info {
    display: flex;
    gap: 32px;
    font-size: 15px;
}
.ah-info div { display: flex; align-items: center; gap: 10px; }
.ah-info i { color: var(--primary); font-size: 18px; }

.detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 50px 0;
}
.info-sidebar {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 100px;
    height: fit-content;
}
.info-sidebar h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--secondary);
}
.info-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.info-item:last-child { border-bottom: none; }
.info-label { color: var(--text-light); }
.info-value { font-weight: 500; text-align: right; max-width: 60%; }
.register-float {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}
.btn-register-float {
    background: linear-gradient(135deg, var(--primary), #FF9E4D);
    color: #fff;
    padding: 16px 48px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(255,122,0,0.4);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(255,122,0,0.4); }
    50% { box-shadow: 0 12px 32px rgba(255,122,0,0.6); }
}

/* ============== Modal ============== */
.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(4px);
}
.modal-mask.show { display: flex; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 480px;
    width: 90%;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}
.modal-sub { color: var(--text-light); margin-bottom: 24px; font-size: 14px; }
.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary);
}
.form-label .req { color: var(--accent-red); margin-left: 4px; }
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}
.btn-cancel {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
}
.success-content {
    text-align: center;
    padding: 20px 0;
}
.success-check {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27AE60, #2ECC71);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    margin: 0 auto 20px;
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 8px;
}
.success-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
}

/* ============== Lost & Found ============== */
.tab-switch {
    display: inline-flex;
    background: var(--bg-light);
    border-radius: 40px;
    padding: 6px;
    margin-bottom: 28px;
}
.tab-btn {
    padding: 10px 32px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}
.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,122,0,0.3);
}
.tab-btn:not(.active) {
    border-color: var(--border-color);
    color: var(--text-dark);
    background: #fff;
}
.lf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.lf-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 18px;
    transition: all 0.3s;
    position: relative;
}
.lf-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.lf-card.resolved {
    opacity: 0.6;
    background: repeating-linear-gradient(
        45deg,
        #f9f9f9,
        #f9f9f9 10px,
        #fff 10px,
        #fff 20px
    );
}
.lf-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.lf-icon.found { background: rgba(39,174,96,0.1); color: var(--accent-green); }
.lf-icon.lost { background: rgba(231,76,60,0.1); color: var(--accent-red); }
.lf-content { flex: 1; }
.lf-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.lf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 12px;
}
.lf-badge.open { background: rgba(39,174,96,0.1); color: var(--accent-green); }
.lf-badge.resolved { background: rgba(149,165,166,0.1); color: #95A5A6; }
.dot-blink {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: blink 1.5s infinite;
}
.stamp {
    font-size: 12px;
    border: 2px solid #95A5A6;
    color: #95A5A6;
    padding: 2px 8px;
    transform: rotate(-8deg);
    border-radius: 4px;
    font-weight: 700;
}
.lf-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.lf-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    gap: 14px;
}
.lf-detail-banner {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}
.resolved-banner {
    background: linear-gradient(135deg, #D5F5E3, #ABEBC6);
    color: #1E8449;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

/* ============== Votes ============== */
.vote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.vote-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 2px solid transparent;
}
.vote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,122,0,0.1);
}
.vc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}
.vc-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.vc-status-label {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 10px;
}
.vc-status-label.ongoing {
    background: rgba(39,174,96,0.1);
    color: var(--accent-green);
}
.vc-status-label.ended {
    background: rgba(149,165,166,0.1);
    color: #95A5A6;
}
.vc-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vc-countdown {
    background: linear-gradient(135deg, rgba(255,122,0,0.08), rgba(255,122,0,0.02));
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 16px;
}
.cd-time {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}
.vc-progress-wrap {
    background: #ECF0F1;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}
.vc-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), #2ECC71);
    border-radius: 4px;
    transition: width 0.5s;
}
.vc-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

/* Vote Detail */
.vote-detail-wrap { max-width: 800px; margin: 0 auto; }
.vd-head {
    background: linear-gradient(135deg, var(--primary), #FF9E4D);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.vd-head::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    right: -50px; bottom: -50px;
}
.vd-status {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    font-size: 12px;
    margin-bottom: 14px;
}
.vd-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.vd-desc { opacity: 0.95; line-height: 1.7; }
.vd-stat {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    font-size: 14px;
}

.vote-option {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.vote-option:hover { border-color: var(--primary); background: rgba(255,122,0,0.02); }
.vote-option.selected {
    border-color: var(--primary);
    background: rgba(255,122,0,0.06);
    box-shadow: 0 0 0 4px rgba(255,122,0,0.08);
}
.vo-check {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid #BDC3C7;
    margin-right: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.vote-option.selected .vo-check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-size: 14px;
}
.vote-option.multiple .vo-check { border-radius: 6px; }
.vo-wrap { display: flex; align-items: center; margin-bottom: 10px; }
.vo-text { font-size: 16px; font-weight: 500; flex: 1; }
.vo-result {
    display: none;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}
.vote-option.show-result .vo-result { display: flex; }
.vo-bar {
    height: 8px;
    background: #ECF0F1;
    border-radius: 4px;
    margin: 8px 0;
    overflow: hidden;
}
.vo-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #FFB366);
    border-radius: 4px;
    transition: width 1s ease;
}
.vo-stats {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-light);
}
.vote-submit {
    margin-top: 28px;
    text-align: center;
}
.vote-submit .btn { padding: 14px 60px; font-size: 16px; }
.total-votes-text {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 14px;
}

/* ============== Pagination ============== */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pg-info {
    margin-right: auto;
    font-size: 13px;
    color: var(--text-light);
}
.pg-btn {
    min-width: 38px; height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}
.pg-btn:hover { border-color: var(--primary); color: var(--primary); }
.pg-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pg-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============== Animations ============== */
.fade-in {
    animation: fadeInUp 0.6s ease both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }
.fade-in:nth-child(5) { animation-delay: 0.4s; }
.fade-in:nth-child(6) { animation-delay: 0.5s; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .quick-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px 200px; }
    .gallery-item:nth-child(1) { grid-row: span 2; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .activity-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-body { grid-template-columns: 1fr; }
    .info-sidebar { position: static; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .nav-menu.mobile-show {
        display: flex;
        position: absolute;
        top: 72px; left: 0; right: 0;
        flex-direction: column;
        background: #fff;
        padding: 16px;
        box-shadow: var(--shadow-md);
    }
    .hero-carousel { height: 420px; }
    .hero-title { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .quick-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-card { padding: 18px; gap: 12px; }
    .stat-num { font-size: 24px; }
    .dyn-grid, .vote-grid, .lf-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 22px; }
    .vote-banner { flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .detail-title { font-size: 22px; }
    .ah-title { font-size: 24px; }
    .ah-info { flex-direction: column; gap: 10px; }
    .detail-nav { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .quick-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 180px); }
    .gallery-item:nth-child(1) { grid-row: auto; }
    .modal-box { padding: 24px 20px; }
    .breadcrumb-bar { padding: 30px 0; }
    .bc-inner h1 { font-size: 24px; }
}

/* ============== Admin Styles ============== */
.admin-login-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44,62,80,0.85), rgba(44,62,80,0.75)),
                url('https://picsum.photos/seed/adminbg/1600/900') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.admin-login-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-logo {
    text-align: center;
    margin-bottom: 30px;
}
.admin-logo .logo-big {
    width: 80px; height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), #FF9E4D);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    box-shadow: 0 8px 24px rgba(255,122,0,0.4);
}
.admin-logo h2 { font-size: 22px; color: var(--secondary); }
.admin-logo p { color: var(--text-light); font-size: 14px; margin-top: 6px; }
.captcha-wrap { display: flex; gap: 10px; }
.captcha-wrap .form-input { flex: 1; }
.captcha-img {
    width: 120px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--secondary);
    user-select: none;
}

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px;
    background: linear-gradient(180deg, var(--secondary), #1A252F);
    color: #fff;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.as-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.as-logo-icon {
    width: 40px; height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.as-logo-text {
    font-size: 16px;
    font-weight: 600;
}
.as-nav { padding: 16px 12px; }
.as-nav-item {
    padding: 12px 16px;
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}
.as-nav-item:hover, .as-nav-item.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.as-nav-item.active { background: var(--primary); box-shadow: 0 4px 12px rgba(255,122,0,0.3); }
.as-nav-group-title {
    padding: 16px 16px 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
}
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #F4F6F8;
}
.admin-topbar {
    background: #fff;
    height: 64px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-search {
    position: relative;
    max-width: 360px;
    width: 100%;
}
.admin-search input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s;
}
.admin-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}
.admin-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 14px;
}
.admin-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FF9E4D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}
.admin-content { padding: 28px; flex: 1; }
.admin-page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}
.admin-page-sub { color: var(--text-light); margin-bottom: 24px; }

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-title { font-size: 16px; font-weight: 600; }
.card-body { padding: 24px; }

.stat-grid-admin {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.stat-ad {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.sa-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.sa-num { font-size: 28px; font-weight: 700; color: var(--secondary); }
.sa-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
.chart-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.chart-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary);
}
.chart-container { position: relative; height: 280px; }

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.data-table thead {
    background: var(--bg-light);
}
.data-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary);
    border-bottom: 2px solid var(--border-color);
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}
.data-table tbody tr:hover { background: rgba(255,122,0,0.03); }
.thumb {
    width: 60px; height: 40px;
    border-radius: 6px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    display: inline-block;
}
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.badge-green { background: rgba(39,174,96,0.1); color: var(--accent-green); }
.badge-red { background: rgba(231,76,60,0.1); color: var(--accent-red); }
.badge-blue { background: rgba(52,152,219,0.1); color: var(--accent-blue); }
.badge-gray { background: rgba(149,165,166,0.1); color: #95A5A6; }
.badge-orange { background: rgba(255,122,0,0.1); color: var(--primary); }

/* Switches */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider-sw {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: .3s;
}
.slider-sw::before {
    content: '';
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
}
.switch input:checked + .slider-sw { background: var(--primary); }
.switch input:checked + .slider-sw::before { transform: translateX(22px); }

/* Form Admin */
.admin-form .form-group { margin-bottom: 22px; }
.admin-form .form-label { margin-bottom: 10px; }
textarea.form-input { min-height: 200px; resize: vertical; }
.row-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.option-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.option-row .form-input { flex: 1; }
.btn-danger-sm {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(231,76,60,0.1);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-danger-sm:hover { background: var(--accent-red); color: #fff; }
.btn-add-opt {
    background: rgba(255,122,0,0.08);
    color: var(--primary);
    border: 1px dashed var(--primary);
    padding: 10px;
    width: 100%;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-add-opt:hover { background: rgba(255,122,0,0.15); }

/* Action Icons */
.table-actions { display: flex; gap: 8px; }
.icon-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 14px;
}
.icon-btn.edit { color: var(--accent-blue); background: rgba(52,152,219,0.08); }
.icon-btn.edit:hover { background: var(--accent-blue); color: #fff; }
.icon-btn.del { color: var(--accent-red); background: rgba(231,76,60,0.08); }
.icon-btn.del:hover { background: var(--accent-red); color: #fff; }
.icon-btn.view { color: var(--accent-green); background: rgba(39,174,96,0.08); }
.icon-btn.view:hover { background: var(--accent-green); color: #fff; }

/* Search Results */
.search-result-item {
    padding: 18px;
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.sr-module {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,122,0,0.1);
    color: var(--primary);
    font-size: 12px;
    border-radius: 4px;
    margin-right: 12px;
    font-weight: 500;
}
.sr-title { font-weight: 500; }

/* Flash Messages */
.flash-msg {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    animation: slideUp 0.3s;
}
.flash-msg.error {
    background: rgba(231,76,60,0.1);
    color: var(--accent-red);
    border-left: 4px solid var(--accent-red);
}
.flash-msg.success {
    background: rgba(39,174,96,0.1);
    color: var(--accent-green);
    border-left: 4px solid var(--accent-green);
}

@media (max-width: 1024px) {
    .stat-grid-admin { grid-template-columns: repeat(2, 1fr); }
    .chart-grid { grid-template-columns: 1fr; }
    .row-form { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .admin-sidebar.mobile-show { display: block; position: fixed; z-index: 100; height: 100vh; }
    .stat-grid-admin { grid-template-columns: 1fr; }
    .admin-topbar { padding: 0 16px; }
    .admin-content { padding: 16px; }
    .admin-login-box { padding: 28px 20px; }
}
