/* ============================================================
   宿迁市苏州外国语学校 - 现代风格样式 v2
   红白配色 | 响应式 | 移动优先
   ============================================================ */

:root {
    --primary: #C41230;
    --primary-dark: #9B0E24;
    --primary-light: #E8465A;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-gray: #f5f5f7;
    --bg-warm: #fefaf8;
    --border: #e8e8e8;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --max-width: 1240px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.7;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
}
.section-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--primary); position: relative; }
.more-link { font-size: .88rem; color: var(--text-muted); font-weight: 500; transition: var(--transition); }
.more-link:hover { color: var(--primary); }

/* ====== HEADER ====== */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; max-width: 280px; }
.logo-mark {
    background: var(--primary); color: #fff; font-weight: 800; font-size: 1rem;
    padding: 8px 12px; border-radius: var(--radius-sm); letter-spacing: 1px;
}
.logo-text { font-size: 1.15rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
    display: block; padding: 8px 18px; border-radius: 20px; font-size: .92rem;
    font-weight: 500; color: var(--text-light); transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: #fff0f0; color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle, .menu-toggle {
    background: none; border: none; font-size: 1.2rem; cursor: pointer;
    padding: 8px; border-radius: 50%; transition: var(--transition);
}
.search-toggle:hover { background: var(--bg-gray); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.search-dropdown {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border); padding: 16px 24px;
    box-shadow: var(--shadow);
}
.search-dropdown.open { display: block; }
.search-form { display: flex; max-width: 500px; margin: 0 auto; }
.search-form input {
    flex: 1; padding: 10px 16px; border: 2px solid var(--border);
    border-right: none; border-radius: 24px 0 0 24px; font-size: .95rem; outline: none;
}
.search-form input:focus { border-color: var(--primary); }
.search-form button {
    padding: 10px 24px; background: var(--primary); color: #fff;
    border: none; border-radius: 0 24px 24px 0; font-size: .95rem; cursor: pointer;
    font-weight: 500; transition: var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }

/* ====== HERO / CAROUSEL ====== */
.hero { position: relative; overflow: hidden; }
.hero-static {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 100px 0; text-align: center; color: #fff;
}
.hero-static h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; }
.hero-subtitle { font-size: 1.2rem; opacity: .85; }
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel-slide { flex: 0 0 100%; position: relative; }
.carousel-slide img { width: 100%; height: 480px; object-fit: cover; }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.2) 100%);
    display: flex; align-items: flex-end; padding-bottom: 60px;
}
.slide-overlay h2 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: 16px; max-width: 600px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.btn-outline {
    display: inline-block; padding: 10px 28px; border: 2px solid rgba(255,255,255,.8);
    color: #fff; border-radius: 24px; font-size: .9rem; font-weight: 500;
    transition: var(--transition);
}
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.85); color: var(--text); font-size: 1.6rem;
    cursor: pointer; z-index: 5; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
}
.carousel-arrow:hover { background: #fff; color: var(--primary); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
.carousel-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.carousel-dot {
    width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
    background: transparent; cursor: pointer; transition: var(--transition);
}
.carousel-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }

/* ====== QUICK LINKS ====== */
.quick-links { padding: 32px 0; background: var(--bg-warm); }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.quick-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 16px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
    cursor: pointer; border: 2px solid transparent;
}
.quick-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quick-icon { font-size: 2rem; }
.quick-label { font-size: .92rem; font-weight: 600; color: var(--text); }

/* ====== HOT GRID ====== */
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hot-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.hot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hot-img { height: 200px; overflow: hidden; background: var(--bg-gray); }
.hot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hot-card:hover .hot-img img { transform: scale(1.05); }
.hot-img-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: 2px;
}
.hot-body { padding: 16px; }
.hot-tag { font-size: .75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; }
.hot-body h3 {
    font-size: 1rem; font-weight: 600; margin: 8px 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.5;
}
.hot-body time { font-size: .8rem; color: var(--text-muted); }

/* ====== TWO COLUMN LAYOUT ====== */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.col { min-width: 0; }

/* ====== NEWS LIST LARGE ====== */
.news-list-lg { display: flex; flex-direction: column; gap: 0; }
.news-item-lg {
    display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border);
    transition: var(--transition); align-items: flex-start;
}
.news-item-lg:last-child { border-bottom: none; }
.news-item-lg:hover { padding-left: 8px; }
.news-thumb {
    flex-shrink: 0; width: 140px; height: 95px; border-radius: var(--radius-sm);
    overflow: hidden; background: var(--bg-gray);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.news-title {
    font-size: .98rem; font-weight: 600; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-desc {
    font-size: .82rem; color: var(--text-light);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.news-info time { font-size: .78rem; color: var(--text-muted); }

/* ====== NOTICE LIST ====== */
.notice-list { display: flex; flex-direction: column; }
.notice-item {
    display: flex; align-items: center; gap: 10px; padding: 14px 0;
    border-bottom: 1px dashed var(--border); transition: var(--transition);
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover .notice-text { color: var(--primary); }
.notice-dot {
    flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
}
.notice-text {
    flex: 1; font-size: .9rem; color: var(--text); min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notice-item time { font-size: .78rem; color: var(--text-muted); flex-shrink: 0; }

/* ====== CARD LIST ====== */
.card-list { display: flex; flex-direction: column; gap: 0; }
.card-item {
    display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
    align-items: center; transition: var(--transition);
}
.card-item:last-child { border-bottom: none; }
.card-item:hover { padding-left: 6px; }
.card-img {
    flex-shrink: 0; width: 80px; height: 56px; border-radius: 6px;
    overflow: hidden; background: var(--bg-gray);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card-body strong {
    font-size: .9rem; font-weight: 500; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-body time { font-size: .78rem; color: var(--text-muted); }

/* ====== FOOTER ====== */
.site-footer {
    background: #1a1a1a; color: rgba(255,255,255,.75); padding: 56px 0 24px; margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3, .footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1.1rem; }
.footer-subtitle { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-contact li { font-size: .88rem; margin-bottom: 8px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.qr-placeholder {
    width: 100px; height: 100px; background: rgba(255,255,255,.1);
    border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4); font-weight: 700; font-size: .8rem; margin-bottom: 8px;
}
.footer-qr p { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
    text-align: center; font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-bottom p { margin-bottom: 4px; }

/* ====== BREADCRUMB ====== */
.breadcrumb { padding: 14px 0; font-size: .85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ====== LIST PAGE ====== */
.list-page { padding-top: 24px; }
.list-header { margin-bottom: 24px; }
.list-header h2 { font-size: 1.4rem; color: var(--primary); padding-left: 14px; border-left: 4px solid var(--primary); }
.article-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 0; }
.list-item {
    display: flex; gap: 20px; padding: 20px; border-bottom: 1px solid var(--border);
    transition: var(--transition); align-items: flex-start;
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--bg-warm); }
.item-thumb {
    flex-shrink: 0; width: 200px; height: 130px; border-radius: var(--radius-sm);
    overflow: hidden; background: var(--bg-gray);
}
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-info { flex: 1; min-width: 0; }
.item-info h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.item-info .summary { font-size: .85rem; color: var(--text-light); margin-bottom: 8px; }
.item-meta { font-size: .8rem; color: var(--text-muted); }
.item-meta span { margin-right: 16px; }

/* ====== DETAIL PAGE ====== */
.detail-page { padding-top: 24px; }
.detail-header { border-bottom: 2px solid var(--primary); margin-bottom: 24px; padding-bottom: 16px; }
.detail-header h1 { font-size: 1.6rem; font-weight: 700; line-height: 1.4; }
.detail-meta { font-size: .85rem; color: var(--text-muted); margin-top: 10px; }
.detail-meta span { margin-right: 20px; }
.detail-content { font-size: 1.02rem; line-height: 1.9; padding: 20px 0 30px; }
.detail-content p { margin-bottom: 16px; }
.detail-content img { max-width: 100%; margin: 20px auto; border-radius: var(--radius-sm); }
.detail-content table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.detail-content td, .detail-content th { border: 1px solid var(--border); padding: 8px 14px; }
.detail-attachment {
    background: var(--bg-gray); padding: 14px 20px; border-radius: var(--radius-sm);
    margin-bottom: 20px; font-size: .9rem;
}
.detail-nav { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border); font-size: .9rem; }

/* ====== ABOUT PAGE ====== */
.about-page { padding-top: 24px; }
.about-header { text-align: center; margin-bottom: 32px; }
.about-header h2 { font-size: 1.6rem; color: var(--primary); font-weight: 700; }
.about-content { font-size: 1.02rem; line-height: 2; max-width: 860px; margin: 0 auto; }
.about-content p { margin-bottom: 18px; text-indent: 2em; }
.about-content img { max-width: 100%; margin: 24px auto; border-radius: var(--radius); }

/* ====== SEARCH PAGE ====== */
.search-page { padding-top: 24px; }
.search-header { margin-bottom: 28px; }
.search-header h2 { font-size: 1.2rem; }
.search-header .keyword { color: var(--primary); font-weight: 600; }
.no-result { text-align: center; padding: 80px 0; color: var(--text-muted); }

/* ====== PAGINATION ====== */
.pagination { margin: 32px 0; text-align: center; }
.pagination ul { display: inline-flex; gap: 6px; }
.pagination a, .pagination .active, .pagination .ellipsis {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 12px;
    border-radius: 18px; font-size: .88rem; color: var(--text);
    border: 1px solid var(--border); transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ================================================================
   RESPONSIVE - Tablet (max-width: 1024px)
   ================================================================ */
@media (max-width: 1024px) {
    .quick-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .quick-card { padding: 16px 10px; }
    .quick-icon { font-size: 1.6rem; }
    .quick-label { font-size: .8rem; }
    .two-col { grid-template-columns: 1fr; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   RESPONSIVE - Tablet (max-width: 768px)
   ================================================================ */
@media (max-width: 768px) {
    html { font-size: 15px; }
    .container { padding: 0 16px; }
    .section { padding: 40px 0; }
    .header-inner { height: 60px; }
    .logo-img { height: 36px; }
    .logo-text { font-size: 1rem; }
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
        background: #fff; display: none; flex-direction: column; padding: 20px;
        z-index: 99; overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { padding: 14px 20px; font-size: 1rem; border-radius: var(--radius-sm); }
    .carousel-slide img { height: 280px; }
    .slide-overlay h2 { font-size: 1.3rem; }
    .quick-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .quick-card { padding: 12px 6px; }
    .quick-icon { font-size: 1.4rem; }
    .quick-label { font-size: .72rem; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hot-img { height: 160px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: span 2; }
    .news-item-lg { flex-direction: column; }
    .news-thumb { width: 100%; height: 160px; }
    .list-item { flex-direction: column; }
    .item-thumb { width: 100%; height: 180px; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ================================================================
   RESPONSIVE - Mobile (max-width: 480px)
   ================================================================ */
@media (max-width: 480px) {
    html { font-size: 14px; }
    .container { padding: 0 12px; }
    .section { padding: 32px 0; }
    .logo-img { height: 30px; max-width: 200px; }
    .logo-mark { font-size: .8rem; padding: 6px 10px; }
    .logo-text { font-size: .9rem; }
    .hero-static { padding: 60px 0; }
    .hero-static h1 { font-size: 1.5rem; }
    .carousel-slide img { height: 200px; }
    .slide-overlay { padding-bottom: 40px; }
    .slide-overlay h2 { font-size: 1.1rem; }
    .btn-outline { padding: 8px 20px; font-size: .8rem; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .quick-card:nth-child(4), .quick-card:nth-child(5) { display: none; }
    .quick-more { display: block; text-align: center; margin-top: 12px; }
    .hot-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.15rem; }
    .two-col { gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-about { grid-column: span 1; }
    .detail-header h1 { font-size: 1.2rem; }
    .carousel-arrow { width: 30px; height: 30px; font-size: 1rem; }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }
}

/* ================================================================
   ADMIN STYLES
   ================================================================ */
.admin-login {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.login-box {
    background: #fff; padding: 40px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); width: 100%; max-width: 400px;
}
.login-box h1 { text-align: center; color: var(--primary); margin-bottom: 28px; font-size: 1.4rem; }
.login-box .form-group { margin-bottom: 18px; }
.login-box label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .9rem; }
.login-box input[type="text"], .login-box input[type="password"] {
    width: 100%; padding: 11px 14px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: .95rem; outline: none; transition: var(--transition);
}
.login-box input:focus { border-color: var(--primary); }
.login-box .btn-submit {
    width: 100%; padding: 12px; background: var(--primary); color: #fff;
    border: none; border-radius: 24px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
}
.login-box .btn-submit:hover { background: var(--primary-dark); }
.login-error { background: #FFF0F0; color: var(--primary); padding: 12px; border-radius: var(--radius-sm); margin-bottom: 16px; text-align: center; font-size: .88rem; }

.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #1a1a1a; color: #ccc; flex-shrink: 0; }
.admin-sidebar h2 { padding: 20px; color: #fff; font-size: 1rem; border-bottom: 1px solid #333; }
.admin-sidebar ul { padding: 8px 0; }
.admin-sidebar li a {
    display: block; padding: 12px 20px; color: #aaa; font-size: .88rem; transition: var(--transition);
}
.admin-sidebar li a:hover, .admin-sidebar li a.active { background: var(--primary); color: #fff; }
.admin-main { flex: 1; background: #f5f5f7; }
.admin-topbar {
    background: #fff; padding: 12px 24px; display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid var(--border);
}
.admin-content { padding: 24px; }
.admin-table { width: 100%; background: #fff; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: .88rem; }
.admin-table th { background: var(--bg-gray); font-weight: 600; }
.admin-table tr:hover td { background: var(--bg-warm); }
.btn {
    display: inline-block; padding: 8px 18px; border-radius: 20px; font-size: .85rem;
    cursor: pointer; border: none; transition: var(--transition); font-weight: 500;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.btn-sm { padding: 4px 12px; font-size: .8rem; }
.btn-default { background: #eee; color: var(--text); }
.btn-default:hover { background: #ddd; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: .88rem; }
.form-group input[type="text"], .form-group input[type="password"], .form-group input[type="url"], .form-group input[type="number"], .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: .9rem; outline: none; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 400px; }
.alert { padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .88rem; }
.alert-success { background: #E8F8E8; color: #2E7D32; border: 1px solid #C8E6C9; }
.alert-error { background: #FFF0F0; color: #C62828; border: 1px solid #FFCDD2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card {
    background: #fff; padding: 24px; border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow);
}
.stat-card .number { font-size: 2.2rem; font-weight: 700; color: var(--primary); }
.stat-card .label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 768px) {
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-sidebar ul { display: flex; flex-wrap: wrap; }
    .admin-sidebar li a { padding: 10px 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
