/* ==========================================================================
   THUỒNG LUỒNG MINI - CUSTOM STYLES (Matching JS/HTML classes)
   ========================================================================== */

/* --- BASE --- */
body {
    font-family: var(--font-primary, 'Nunito', sans-serif);
    background-color: var(--color-bg, #FFFAF5);
    color: var(--color-text, #2D2D2D);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-4, 1rem); }
.page-container { padding-bottom: 80px; } /* Space for mobile nav */

/* --- HEADER --- */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height, 70px);
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000;
    display: flex; align-items: center;
}
.header__inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.header__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; color: var(--color-primary, #F4A261); }
.header__logo-img { width: 40px; height: 40px; border-radius: 8px; }
.nav__list { display: flex; gap: 20px; }
.nav__link { font-weight: 600; color: var(--color-text-secondary, #666); transition: 0.3s; }
.nav__link:hover, .nav__link.active { color: var(--color-primary, #F4A261); }
.header__search { display: none; } /* Handled by JS inline styling or toggle */
.header__actions { display: flex; align-items: center; gap: 15px; }

/* --- BUTTONS & INPUTS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: 0.3s;
}
.btn--primary { background: var(--color-primary, #F4A261); color: white; }
.btn--primary:hover { background: var(--color-primary-dark, #E76F51); transform: translateY(-2px); }
.btn--secondary { background: var(--color-bg-secondary, #FFF5EB); color: var(--color-primary); }
.btn--block { width: 100%; }
.btn--sm { padding: 6px 12px; font-size: 0.9rem; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge--featured { background: #FFF3CD; color: #856404; }
.badge--new { background: #D1ECF1; color: #0C5460; }
.search-bar { position: relative; width: 100%; max-width: 400px; display: flex; align-items: center; }
.search-bar__input { width: 100%; padding: 12px 40px; border-radius: 30px; border: 2px solid #EEE; outline: none; transition: 0.3s; }
.search-bar__input:focus { border-color: var(--color-primary, #F4A261); }
.search-bar__icon { position: absolute; left: 15px; color: #999; }

/* --- HERO SECTION --- */
.hero {
    position: relative; padding: 120px 0 80px; text-align: center;
    background: linear-gradient(135deg, #FFF0E0 0%, #FFE5CC 100%); overflow: hidden;
}
.hero__badge { display: inline-block; padding: 6px 16px; background: white; border-radius: 30px; color: var(--color-primary); font-weight: bold; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(244,162,97,0.1); }
.hero__title { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; color: #2D2D2D; }
.hero__title .highlight { color: var(--color-primary); }
.hero__subtitle { font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px; color: #666; }
.hero__search { max-width: 600px; margin: 0 auto; position: relative; }
.hero__tags { margin-top: 20px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero__tag { padding: 6px 16px; background: white; border-radius: 20px; font-size: 0.9rem; color: #555; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.hero__tag:hover { background: var(--color-primary); color: white; transform: translateY(-2px); }

/* --- SECTIONS --- */
.section { padding: 60px 0; }
.section__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section__title { font-size: 2rem; font-weight: 800; margin-bottom: 5px; }
.section__subtitle { color: #666; font-size: 1.1rem; }
.section__see-all { display: flex; align-items: center; gap: 5px; color: var(--color-primary); font-weight: 600; }

/* --- CATEGORIES GRID --- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card {
    background: white; border-radius: 16px; padding: 30px 20px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; position: relative; display: block;
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.category-card__icon { width: 60px; height: 60px; margin: 0 auto 15px; border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; color: white; }
.category-card__name { font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; }
.category-card__count { color: #888; font-size: 0.9rem; }

/* --- VENUE GRID & CARDS --- */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.venue-grid--2 { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
.card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: 0.3s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.card__link { display: block; color: inherit; }
.card__image { height: 200px; background: #EEE; position: relative; display: flex; justify-content: center; align-items: center; font-size: 3rem; color: rgba(255,255,255,0.8); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; }
.card__fav-btn { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: white; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 2; transition: 0.3s; }
.card__fav-btn:hover { transform: scale(1.1); }
.card__fav-btn.active i { fill: #EF4444; color: #EF4444; }
.card__price-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.7); color: white; padding: 4px 10px; border-radius: 20px; font-weight: bold; font-size: 0.85rem; }
.card__content { padding: 20px; }
.card__category { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #666; margin-bottom: 8px; font-weight: 600; }
.card__category-dot { width: 8px; height: 8px; border-radius: 50%; }
.card__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.card__desc { color: #666; font-size: 0.9rem; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #EEE; margin-bottom: 15px; }
.card__rating { display: flex; align-items: center; gap: 4px; }
.star { color: #FFD700; }
.star.empty { color: #EEE; }
.card__rating-num { font-weight: 700; margin-left: 5px; }
.card__review-count { color: #888; font-size: 0.85rem; }
.card__footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.card__location { display: flex; align-items: center; gap: 5px; color: #666; }
.card__location i { width: 14px; height: 14px; }
.card__status { font-weight: 700; }
.card__status.open { color: #10B981; }
.card__status.closed { color: #EF4444; }

/* --- CAROUSEL --- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { min-width: 300px; flex: 0 0 300px; scroll-snap-align: start; }
.carousel__prev, .carousel__next { position: absolute; top: 40%; transform: translateY(-50%); width: 40px; height: 40px; background: white; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; display: flex; justify-content: center; align-items: center; }
.carousel__prev { left: -20px; } .carousel__next { right: -20px; }

/* --- CTA SECTION --- */
.cta-card { background: var(--color-primary); border-radius: 24px; padding: 40px; color: white; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 30px rgba(244,162,97,0.3); position: relative; overflow: hidden; }
.cta-card__content { position: relative; z-index: 2; max-width: 500px; }
.cta-card__title { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
.cta-card__features { display: flex; gap: 15px; margin: 20px 0 30px; flex-wrap: wrap; }
.cta-card__feature { display: flex; align-items: center; gap: 5px; font-weight: 600; background: rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 20px; }
.cta-card__emoji { font-size: 8rem; position: absolute; right: 40px; bottom: -20px; opacity: 0.8; transform: rotate(-15deg); }

/* --- FOOTER --- */
.footer { background: #1A1A2E; color: white; padding: 60px 0 20px; margin-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand-logo span { color: var(--color-primary); }
.footer__brand-description { color: #9CA3AF; margin: 15px 0; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.footer__social-link:hover { background: var(--color-primary); transform: translateY(-3px); }
.footer__column-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: white; }
.footer__link { display: block; color: #9CA3AF; margin-bottom: 12px; transition: 0.3s; }
.footer__link:hover { color: var(--color-primary); padding-left: 5px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: #6B7280; font-size: 0.9rem; }

/* --- MOBILE NAV (Bottom) --- */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: white; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); z-index: 1000; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.mobile-nav__list { display: flex; justify-content: space-around; align-items: center; }
.mobile-nav__item { text-align: center; color: #888; transition: 0.3s; position: relative; }
.mobile-nav__item.active { color: var(--color-primary); }
.mobile-nav__item.active .mobile-nav__icon { transform: translateY(-2px); }
.mobile-nav__label { display: block; font-size: 0.75rem; font-weight: 600; margin-top: 4px; }
.mobile-bottom-nav__badge { position: absolute; top: -5px; right: 0; background: #EF4444; color: white; font-size: 0.65rem; padding: 2px 5px; border-radius: 10px; font-weight: bold; }

/* --- MOBILE MENU SIDEBAR --- */
.mobile-menu { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: white; z-index: 2000; transition: 0.3s ease-in-out; box-shadow: 4px 0 15px rgba(0,0,0,0.1); padding: 20px; }
.mobile-menu.active { left: 0; }
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #EEE; margin-bottom: 20px; }
.mobile-menu__link { display: flex; align-items: center; gap: 15px; padding: 12px 15px; border-radius: 8px; color: #333; font-weight: 600; margin-bottom: 8px; }
.mobile-menu__link.active { background: var(--color-bg-secondary); color: var(--color-primary); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav { display: none; }
    .header__hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 5px; cursor: pointer; }
    .header__hamburger span { width: 25px; height: 3px; background: #333; border-radius: 3px; transition: 0.3s; }
    #search-toggle { display: block !important; background: none; border: none; cursor: pointer; }
    .mobile-nav { display: block; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer__social { justify-content: center; }
    .footer__link { display: inline-block; padding: 0 10px; }
    .hero__title { font-size: 2.2rem; }
    .hero__subtitle { font-size: 1rem; padding: 0 20px; }
    .section__header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .carousel__prev, .carousel__next { display: none; }
    .cta-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .cta-card__emoji { position: static; transform: none; font-size: 5rem; margin-top: 20px; }
}

/* --- OTHER PAGES (Detail, Category) --- */
.detail-page { padding-bottom: 40px; }
.breadcrumb { padding: 20px 0; display: flex; gap: 10px; color: #666; font-size: 0.9rem; }
.breadcrumb__item.active { color: var(--color-primary); font-weight: bold; }
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 30px; height: 400px; }
.detail-gallery__main { border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 4rem; color: white; }
.detail-gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.detail-gallery__thumb, .detail-gallery__more { border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 2rem; color: white; }
.detail-gallery__more { background: #333; cursor: pointer; font-size: 1.2rem; font-weight: bold; }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.detail-header { margin-bottom: 30px; }
.detail-header__badges { display: flex; gap: 10px; margin-bottom: 15px; }
.detail-header__title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }
.detail-rating-big { display: flex; align-items: center; gap: 15px; }
.detail-rating-big__num { font-size: 3rem; font-weight: 900; color: #2D2D2D; line-height: 1; }
.detail-actions { display: flex; gap: 15px; margin-bottom: 40px; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE; padding: 20px 0; }
.detail-action { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; color: #666; font-weight: 600; cursor: pointer; transition: 0.3s; }
.detail-action:hover { color: var(--color-primary); }
.detail-action__icon { width: 50px; height: 50px; border-radius: 50%; background: #F5F5F5; display: flex; justify-content: center; align-items: center; margin-bottom: 5px; transition: 0.3s; }
.detail-action:hover .detail-action__icon { background: var(--color-bg-secondary); color: var(--color-primary); }
.detail-action.active .detail-action__icon { background: #FEE2E2; color: #EF4444; }
.detail-section { margin-bottom: 40px; }
.detail-section__title { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.detail-section__title i { color: var(--color-primary); }
.detail-info-list { background: #F9FAFB; padding: 25px; border-radius: 16px; display: grid; gap: 20px; }
.detail-info-item { display: flex; gap: 15px; }
.detail-info-item__icon { color: var(--color-primary); margin-top: 2px; }
.detail-info-item__label { display: block; font-size: 0.85rem; color: #6B7280; margin-bottom: 2px; }
.detail-info-item__value { font-weight: 600; color: #111827; }
.detail-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.detail-amenity { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.detail-amenity i { color: #10B981; }
.detail-sidebar-card { background: white; padding: 25px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 25px; border: 1px solid #EEE; }
.detail-sidebar-card__title { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #EEE; }
.booking-form__field { margin-bottom: 15px; }
.booking-form__field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.booking-form__field input, .booking-form__field select, .booking-form__field textarea { width: 100%; padding: 12px; border: 1px solid #DDD; border-radius: 8px; font-family: inherit; }
.detail-contact__item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #EEE; color: #333; font-weight: 600; }
.detail-contact__item:last-child { border: none; padding-bottom: 0; }
.detail-contact__item i, .detail-contact__item svg { color: var(--color-primary); }
.detail-map { height: 300px; border-radius: 16px; margin-bottom: 15px; background: #EEE; }
.detail-map-btn { margin-top: 15px; }

/* REVIEWS */
.review-summary { display: flex; gap: 40px; align-items: center; background: #F9FAFB; padding: 30px; border-radius: 16px; margin-bottom: 30px; }
.review-summary__score { text-align: center; }
.review-summary__num { font-size: 4rem; font-weight: 900; color: #111827; line-height: 1; }
.review-summary__breakdown { flex: 1; }
.stat-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.9rem; }
.stat-bar__label { width: 40px; font-weight: 600; }
.stat-bar__track { flex: 1; height: 8px; background: #E5E7EB; border-radius: 4px; overflow: hidden; }
.stat-bar__fill { height: 100%; background: #F59E0B; border-radius: 4px; }
.stat-bar__value { width: 40px; text-align: right; color: #6B7280; }
.review-card { padding: 25px 0; border-bottom: 1px solid #EEE; }
.review-card__header { display: flex; gap: 15px; align-items: center; margin-bottom: 15px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-weight: bold; font-size: 1.2rem; }
.review-card__user { flex: 1; }
.review-card__name { display: block; font-weight: 700; font-size: 1.1rem; }
.review-card__date { font-size: 0.85rem; color: #888; }
.review-card__text { line-height: 1.6; color: #444; margin-bottom: 15px; }
.review-card__helpful { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #DDD; border-radius: 20px; font-size: 0.9rem; color: #666; transition: 0.3s; }
.review-card__helpful.active, .review-card__helpful:hover { border-color: var(--color-primary); color: var(--color-primary); background: #FFF5EB; }

/* CATEGORY PAGE */
.category-hero { background: var(--color-bg-secondary); padding: 40px 0 60px; margin-top: 0; text-align: center; }
.category-hero__icon { font-size: 4rem; margin-bottom: 15px; }
.category-hero__title { font-size: 3rem; font-weight: 900; margin-bottom: 10px; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 30px; flex-wrap: wrap; gap: 20px; }
.filter-bar__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip { padding: 8px 20px; background: white; border: 1px solid #DDD; border-radius: 30px; font-weight: 600; color: #555; transition: 0.3s; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.filter-bar__actions { display: flex; gap: 15px; align-items: center; }
.filter-bar__sort select { padding: 8px 15px; border-radius: 8px; border: 1px solid #DDD; outline: none; font-weight: 600; font-family: inherit; }
.filter-bar__view-btn { padding: 8px; border-radius: 8px; color: #888; }
.filter-bar__view-btn.active { background: var(--color-bg-secondary); color: var(--color-primary); }
.category-map-section { margin-top: 60px; }
.category-map { height: 400px; border-radius: 16px; background: #EEE; }

/* SEARCH PAGE */
.search-page-header { text-align: center; padding: 60px 0 40px; }
.search-page-header__title { font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.search-page-bar { max-width: 600px; margin: 0 auto 30px; }
.search-suggestions__title { text-align: center; margin-bottom: 20px; font-size: 1.2rem; }
.search-categories { margin-top: 60px; }

@media (max-width: 992px) {
    .detail-layout { grid-template-columns: 1fr; }
    .detail-gallery { height: 300px; grid-template-columns: 1fr; }
    .detail-gallery__side { display: none; }
    .review-summary { flex-direction: column; gap: 20px; }
}

/* --- ANIMATIONS (Simple fallback) --- */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.bounce { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-20px);} 60% {transform: translateY(-10px);} }

/* --- ADMIN DASHBOARD --- */
.admin-dashboard { display: flex; min-height: 100vh; background: #F9FAFB; margin-top: -var(--header-height); padding-top: var(--header-height); }
.admin-sidebar { width: 280px; background: white; border-right: 1px solid #E5E7EB; display: flex; flex-direction: column; flex-shrink: 0; }
.admin-sidebar__header { padding: 30px 20px; border-bottom: 1px solid #E5E7EB; }
.admin-user { display: flex; align-items: center; gap: 15px; }
.admin-user__avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.admin-user__name { font-weight: 700; color: #111827; }
.admin-user__role { font-size: 0.85rem; color: var(--color-primary); font-weight: 600; }
.admin-nav { padding: 20px; display: flex; flex-direction: column; gap: 5px; }
.admin-nav__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 15px; border-radius: 8px; font-weight: 600; color: #6B7280; transition: 0.3s; text-align: left; }
.admin-nav__item:hover { background: #F3F4F6; color: #111827; }
.admin-nav__item.active { background: var(--color-primary-light); color: var(--color-primary-dark); }
.admin-nav__item i { width: 20px; height: 20px; }

.admin-main { flex: 1; padding: 40px; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.admin-title { font-size: 2rem; font-weight: 800; color: #111827; margin: 0; }

.admin-tab-content { display: none; animation: fadeIn 0.3s; }
.admin-tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.admin-stat-card { background: white; padding: 25px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 20px; border: 1px solid #E5E7EB; transition: 0.3s; }
.admin-stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.admin-stat-card__icon { width: 60px; height: 60px; border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; }
.admin-stat-card__icon i { width: 28px; height: 28px; }
.admin-stat-card__value { font-size: 2rem; font-weight: 800; color: #111827; line-height: 1.2; }
.admin-stat-card__label { color: #6B7280; font-weight: 600; font-size: 0.9rem; }

.admin-panel { background: white; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #E5E7EB; overflow: hidden; }
.admin-panel__header { padding: 20px 25px; border-bottom: 1px solid #E5E7EB; background: #FAFAFA; }
.admin-panel__title { font-size: 1.25rem; font-weight: 700; color: #111827; margin: 0; }
.admin-table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 25px; text-align: left; border-bottom: 1px solid #E5E7EB; }
.admin-table th { font-weight: 600; color: #6B7280; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table td { vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #F9FAFB; }

.btn--icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; color: #6B7280; background: #F3F4F6; transition: 0.2s; margin-right: 5px; }
.btn--icon:hover { background: var(--color-primary); color: white; transform: translateY(-2px); }

@media (max-width: 992px) {
    .admin-dashboard { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #E5E7EB; }
    .admin-nav { flex-direction: row; overflow-x: auto; white-space: nowrap; padding: 15px; }
    .admin-nav__item { width: auto; justify-content: center; }
    .admin-main { padding: 20px; }
}

/* --- MODAL OVERLAY FIX --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal {
    transform: translateY(0);
}
.modal__close {
    position: absolute;
    top: 15px; right: 15px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.modal__close:hover { background: #E5E7EB; }

/* Auth modal specific */
.auth-modal__header { text-align: center; margin-bottom: 25px; }
.auth-modal__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.auth-modal__desc { color: #666; font-size: 0.95rem; }
.auth-btn { width: 100%; margin-bottom: 15px; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 1rem; border: 1px solid #E5E7EB; background: white; color: #333; }
.auth-btn:hover { background: #F9FAFB; }
.auth-btn img { width: 24px; height: 24px; }
.auth-modal__terms { text-align: center; font-size: 0.8rem; color: #999; margin-top: 20px; }
