/* ========================================
   CINEMAGO - Cinema Website Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #f97316;
    --primary-hover: #ea580c;
    --background: #0f1419;
    --card: #1a1f2e;
    --card-hover: #252a3a;
    --border: #2d3548;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --text-secondary: #6b7280;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background-color: var(--card);
    border-color: var(--text-muted);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background-color: var(--background);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
}

.user-btn:hover {
    background-color: var(--card);
}


.user-name {
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
}

.user-dropdown a:hover {
    background-color: var(--card-hover);
    color: var(--text);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.25rem 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu ul {
    padding: 1rem;
}

.mobile-menu li a {
    display: block;
    padding: 0.75rem;
    color: var(--text-muted);
    border-radius: var(--radius);
}

.mobile-menu li a:hover {
    background-color: var(--card-hover);
    color: var(--text);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--background), var(--card));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.featured-movie-info {
    margin-bottom: 2rem;
}

.featured-movie-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.genre-badge {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.duration {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--primary);
}

.hero-poster {
    position: relative;
}

.hero-poster img {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SEARCH SECTION
   ======================================== */
.search-section {
    padding: 2rem 0;
}

.search-box {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.search-info h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.search-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.search-input-wrapper {
    flex: 1;
    max-width: 400px;
}

.search-input-wrapper form {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.875rem;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-input-wrapper input::placeholder {
    color: var(--text-secondary);
}

/* ========================================
   MOVIE SECTION
   ======================================== */
.movie-section {
    padding: 2rem 0 4rem;
}

.movie-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-header h3 {
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
}

.clear-btn:hover {
    color: var(--text);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 1rem;
}

.filter-group--date {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.filter-date-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: -0.5rem 0 0.75rem;
    line-height: 1.4;
}

.home-date-filter-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-filter-date {
    width: 100%;
    padding: 0.65rem 0.75rem;
    background-color: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: inherit;
    color-scheme: dark; /* ô chọn ngày gần với theme tối */
    transition: var(--transition);
}

.home-filter-date:hover {
    border-color: var(--text-secondary);
}

.home-filter-date:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.home-filter-date::-webkit-calendar-picker-indicator {
    filter: invert(0.85);
    cursor: pointer;
    opacity: 0.85;
}

.home-filter-date-btn {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    transition: var(--transition);
}

.home-filter-date-btn:hover {
    filter: brightness(1.06);
}

.home-filter-date-clear {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.home-filter-date-clear:hover {
    color: var(--text);
    border-color: var(--text-secondary);
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.checkbox-item:hover {
    color: var(--text);
}

.checkbox-item input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-item input:checked + .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-item input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Movie Main */
.movie-main {
    min-height: 400px;
}

.home-movie-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.home-movie-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.home-movie-tab:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

.home-movie-tab.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(59, 130, 246, 0.2));
    border-color: rgba(239, 68, 68, 0.45);
}

.movie-overlay-coming {
    cursor: default;
    pointer-events: none;
    opacity: 0.95;
}

.hero-coming-soon {
    cursor: default;
    pointer-events: none;
}

.movie-header {
    margin-bottom: 1.5rem;
}

.movie-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.movie-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.movie-page-hint {
    font-weight: 500;
    opacity: 0.9;
}

/* Movie Grid */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Movie Card */
.movie-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}

.movie-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

/* Độ tuổi — góc trái, khác style “T16” vuông cam: nền tối + viền + chữ trắng */
.movie-age-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 3;
    min-width: 1.85rem;
    padding: 0.28rem 0.42rem;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
    border: 1px solid rgba(251, 191, 36, 0.45);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.movie-rating {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.movie-rating i {
    color: #fbbf24;
}

.movie-info {
    padding: 1rem;
}

.movie-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-info .movie-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.movie-info .genre {
    color: var(--primary);
}

/* Empty State */
.empty-state {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state p {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.empty-state span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.empty-state a {
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.page-btn:hover {
    background-color: var(--card-hover);
    color: var(--text);
}

.page-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ========================================
   THEATER PAGES
   ======================================== */
.theater-page {
    min-height: calc(100vh - 64px);
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 30%),
    linear-gradient(180deg, #02071a 0%, #040b26 100%);
}

.theater-hero {
    padding: 2.6rem 0 2.2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.theater-hero--detail {
    padding-top: 1.8rem;
}

.theater-hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    color: #ffd9bf;
    border: 1px solid rgba(249, 115, 22, 0.45);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.95rem;
}

.theater-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.theater-hero p {
    color: #b8c4de;
    max-width: 650px;
}

.theater-list-section {
    padding: 1.6rem 0 3rem;
}

.theater-section-header {
    margin-bottom: 1.25rem;
}

.theater-section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.theater-section-header p {
    color: #9ab0d4;
}

.theater-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1rem;
}

.theater-card {
    background: linear-gradient(155deg, rgba(249, 115, 22, 0.26) 0%, rgba(17, 24, 39, 0.9) 32%, rgba(7, 12, 32, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    overflow: hidden;
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.theater-card-head h3 {
    margin-top: 0.45rem;
    font-size: 1.24rem;
}

.theater-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.58rem;
    border-radius: 999px;
    background: rgba(187, 247, 208, 0.16);
    border: 1px solid rgba(187, 247, 208, 0.5);
    color: #c8f7d8;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.theater-card-body {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding-top: 0.7rem;
}

.theater-card-label {
    color: #93a4c5;
    font-size: 0.77rem;
    margin-bottom: 0.25rem;
}

.theater-card-location {
    color: #e2e8f0;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}

.theater-card-location i {
    color: #fb7185;
    margin-right: 0.26rem;
}

.theater-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.theater-stats div {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.7rem;
    padding: 0.55rem 0.65rem;
}

.theater-stats span {
    display: block;
    color: #93a4c5;
    font-size: 0.68rem;
}

.theater-stats strong {
    font-size: 1.05rem;
}

.theater-card-btn {
    border-radius: 999px;
    width: 100%;
    font-size: 0.82rem;
    margin-top: auto;
}

.theater-empty-state {
    border: 1px dashed rgba(148, 163, 184, 0.4);
    border-radius: 1rem;
    color: #9ab0d4;
    padding: 1rem;
}

.theater-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fbc29a;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    font-weight: 600;
}

.theater-detail-meta {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.theater-detail-meta > span:not(.theater-status-pill) {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.theater-movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.theater-movie-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(5, 12, 35, 0.95);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.33);
}

.theater-movie-poster {
    position: relative;
    aspect-ratio: 2/3;
}

.theater-movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theater-movie-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.86) 80%);
    padding: 1rem 0.9rem 0.75rem;
}

.theater-movie-overlay h3 {
    font-size: 1.12rem;
    line-height: 1.28;
}

.theater-movie-body {
    padding: 0.8rem;
}

.theater-movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ab0d4;
    font-size: 0.75rem;
    margin-bottom: 0.65rem;
}

.theater-movie-time-title {
    color: #fbd6b9;
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.theater-time-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.7);
    min-width: 4.2rem;
    padding: 0.24rem 0.7rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.82rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   CHAT BUTTON
   ======================================== */
.chat-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    transition: var(--transition);
    z-index: 50;
}

.chat-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

/* ========================================
   PURCHASE HISTORY PAGE
   ======================================== */
.ticket-history-page {
    padding: 2rem 0 3rem;
}

.ticket-history-card {
    background: linear-gradient(180deg, rgba(26, 31, 46, 0.95), rgba(15, 20, 34, 0.96));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.ticket-history-header h1 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 0.25rem;
}

.ticket-history-header p {
    color: var(--text-muted);
    max-width: 700px;
}

.ticket-history-eyebrow {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.ticket-history-toolbar {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.ticket-history-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ticket-history-presets .btn {
    padding: 0.48rem 0.95rem;
    font-size: 0.8rem;
}

.ticket-history-presets .btn.is-active {
    border-color: var(--primary);
    color: #fff;
    background: rgba(249, 115, 22, 0.18);
}

.ticket-history-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 0.75rem;
    align-items: end;
}

.ticket-history-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ticket-history-filter-field label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.ticket-history-filter-field input {
    width: 100%;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0.58rem 0.7rem;
}

.ticket-history-filter-field input:focus {
    outline: none;
    border-color: var(--primary);
}

.ticket-history-filter-actions {
    display: flex;
    gap: 0.55rem;
}

.ticket-history-filter-actions .btn {
    padding: 0.58rem 0.95rem;
}

.ticket-history-filter-error {
    margin-top: 0.8rem;
    border: 1px solid rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border-radius: var(--radius);
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
}

.ticket-history-empty {
    margin-top: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.2rem;
    text-align: center;
}

.ticket-history-empty h2 {
    margin-bottom: 0.35rem;
}

.ticket-history-empty p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.ticket-history-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.9rem;
}

.ticket-history-item {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(9, 14, 26, 0.92);
    border-radius: var(--radius);
    padding: 1rem;
}

.ticket-history-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.ticket-history-booking-id {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.ticket-history-title-wrap h2 {
    margin-top: 0.15rem;
    font-size: 1.35rem;
}

.ticket-history-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ticket-badge {
    border-radius: 999px;
    padding: 0.23rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.ticket-badge.ticket-badge-muted {
    background: rgba(59, 130, 246, 0.14);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.35);
}

.ticket-badge-valid {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.45);
}

.ticket-badge-expired {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.45);
}

.ticket-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.65rem;
}

.ticket-history-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.55rem;
    padding: 0.55rem 0.65rem;
}

.ticket-history-field span {
    display: block;
    color: var(--text-muted);
    font-size: 0.74rem;
    margin-bottom: 0.2rem;
}

.ticket-history-field strong {
    font-size: 0.92rem;
}

.ticket-history-price {
    color: #ffcb97;
}

.ticket-history-transaction {
    margin-top: 0.75rem;
    color: #fcd34d;
    font-size: 0.82rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.22);
    padding-top: 0.6rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-dots {
        justify-content: center;
    }

    .hero-poster {
        order: -1;
    }

    .hero-poster img {
        margin: 0 auto;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .ticket-history-filter {
        grid-template-columns: 1fr 1fr;
    }

    .ticket-history-filter-actions {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .search-box {
        flex-direction: column;
        text-align: center;
    }

    .search-input-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .movie-content {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .theater-section-header h2 {
        font-size: 1.6rem;
    }

    .theater-grid,
    .theater-movie-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .ticket-history-card {
        padding: 1rem;
    }

    .ticket-history-item-head {
        flex-direction: column;
    }

    .ticket-history-filter {
        grid-template-columns: 1fr;
    }

    .ticket-history-filter-actions {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .movie-grid {
        grid-template-columns: 1fr;
    }

    .chat-btn {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   AUTH SECTION (Login / Register)
   ======================================== */
.auth-section {
    padding: 4rem 0;
    min-height: calc(100vh - 64px - 300px); /* Trừ đi header và footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.875rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.submit-btn {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 0.875rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.text-primary {
    color: var(--primary);
    font-weight: 600;
}

.text-primary:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Alert Error (Nơi báo lỗi như sai pass, trùng email) */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.field-required {
    color: var(--primary);
    margin-left: 0.25rem;
}

.field-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.profile-form .input-wrapper input[readonly] {
    background-color: rgba(255, 255, 255, 0.04);
    cursor: not-allowed;
}

/* ========================================
   MODAL (POPUP) STYLES
   ======================================== */
.modal-overlay {
    display: none; /* Ẩn mặc định */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--card); /* Hoặc #1e2433 */
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 1.25rem;
    color: white;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #ff6b6b;
}

.modal-body {
    padding: 1.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Home: card overlay 2 nút ===== */
.movie-overlay--dual {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
}

.movie-overlay-btn {
    width: 100%;
    max-width: 200px;
    justify-content: center;
    text-align: center;
}

.movie-info-link {
    display: block;
    color: inherit;
}

.movie-info-link:hover .movie-title {
    color: var(--primary);
}

.movie-header--spaced {
    margin-top: 2.5rem;
}

/* ===== Trang chi tiết phim ===== */
.movie-detail-page {
    padding-bottom: 3rem;
}

.movie-detail-hero {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(180deg, var(--card) 0%, var(--background) 100%);
}

.movie-detail-hero-inner {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

.movie-detail-poster img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.movie-detail-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.movie-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.movie-detail-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.genre-pill {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.movie-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.movie-detail-meta-row i {
    margin-right: 0.35rem;
    color: var(--primary);
}

.movie-detail-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 52rem;
}

.movie-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.movie-detail-tabs-wrap {
    margin-top: 1rem;
}

.movie-detail-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.detail-tab {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius) var(--radius) 0 0;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.detail-tab.active {
    background: var(--card);
    color: var(--primary);
    border-color: var(--border);
    border-bottom-color: var(--card);
}

.detail-tab-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    padding: 1.5rem;
}

.showtime-day-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 1.25rem 0 0.75rem;
}

.showtime-day-title:first-child {
    margin-top: 0;
}

.showtime-slot-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.showtime-slot-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.showtime-slot-head .cinema-name {
    color: var(--primary);
    font-weight: 700;
}

.showtime-slot-head .room-name {
    color: var(--text);
    font-weight: 500;
}

.showtime-slot-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.showtime-slot-time {
    font-weight: 700;
    font-size: 1rem;
}

.showtime-slot-seats {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slot-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.slot-status-DA_KET_THUC { background: rgba(107,114,128,0.2); color: var(--text-muted); }
.slot-status-DANG_CHIEU { background: rgba(34,197,94,0.15); color: var(--success); }
.slot-status-SAP_CHIEU { background: rgba(59,130,246,0.15); color: #60a5fa; }
.slot-status-CHUA_BAT_DAU { background: rgba(148,163,184,0.15); color: #94a3b8; }

.detail-empty {
    color: var(--text-muted);
    padding: 1rem 0;
}

.review-list {
    list-style: none;
}

.review-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-stars .on { color: #fbbf24; }
.review-stars .off { color: var(--border); }

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

/* Trailer modal (YouTube) */
.trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.trailer-modal.open {
    display: flex;
}

.trailer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.trailer-modal-box {
    position: relative;
    width: min(960px, 100%);
    z-index: 1;
}

.trailer-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.trailer-modal-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.trailer-player-host,
.trailer-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .movie-detail-hero-inner {
        grid-template-columns: 1fr;
    }
    .movie-detail-poster {
        max-width: 240px;
        margin: 0 auto;
    }
}

/* ===== Booking Seat + Combo ===== */
.booking-seat-page {
    padding: 2rem 0 3rem;
    background: radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.2), transparent 30%),
    radial-gradient(circle at 85% 50%, rgba(99, 102, 241, 0.18), transparent 35%),
    #070c1d;
}

.booking-seat-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}

.booking-seat-map-card,
.booking-order-card {
    background: rgba(10, 18, 40, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 1rem;
}

.booking-seat-map-card {
    padding: 1.2rem 1.4rem 1rem;
}

.booking-seat-map-card h1 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 0.25rem;
}

.booking-seat-map-card p {
    text-align: center;
    color: #8fa2c5;
    margin-bottom: 1rem;
}

.booking-screen {
    margin: 0 auto 1.25rem;
    max-width: 420px;
    text-align: center;
    padding: 0.45rem;
    border-radius: 999px;
    font-weight: 700;
    color: #ffe7cd;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.5), rgba(249, 115, 22, 0.12));
    letter-spacing: 0.08em;
}

.booking-error {
    margin: 0.2rem auto 0.8rem;
    max-width: 520px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border-radius: 0.55rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
    font-size: 0.82rem;
}

.booking-held-seats {
    margin: 0.5rem auto 1rem;
    max-width: 500px;
}

.booking-held-seats h3 {
    text-align: center;
    font-size: 0.9rem;
    color: #d8e2f3;
    margin-bottom: 0.45rem;
}

.booking-seat-grid {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    align-items: center;
    padding: 0.2rem 0 0.35rem;
}

.booking-seat-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: max-content;
    justify-content: center;
}

.booking-seat-row-label {
    width: 22px;
    color: #8fa2c5;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    opacity: 0.9;
}

.booking-seat-gap {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.booking-seat {
    border: none;
    border-radius: 0.42rem;
    width: 24px;
    min-width: 24px;
    height: 24px;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.booking-seat-empty {
    color: #8fa2c5;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.25rem 0;
}

.booking-seat:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(99, 102, 241, 0.35);
}

.seat-normal { background: #7b4cf0; }
.seat-vip { background: #ef4444; }
.seat-booked {
    background: #253150;
    color: #7284ab;
    cursor: not-allowed;
}
.seat-pending {
    background: #f59e0b;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.9;
}

.booking-seat.is-selected {
    outline: 2px solid #ff8b2b;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3);
}

.booking-seat-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.3rem;
    color: #afbed8;
    font-size: 0.74rem;
}

.booking-seat-legend .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 0.3rem;
}

.seat-dot-booked { background: #253150; }
.seat-dot-pending { background: #f59e0b; }
.seat-dot-selected { background: #ff8b2b; }
.seat-dot-normal { background: #7b4cf0; }
.seat-dot-vip { background: #ef4444; }

.booking-order-card { padding: 0.95rem; }
.booking-order-head h2 {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}
.booking-order-head p {
    color: #8fa2c5;
    font-size: 0.75rem;
}

.booking-showtime-form { margin-top: 0.9rem; }
.booking-showtime-form label {
    font-size: 0.82rem;
    color: #afbed8;
    margin-bottom: 0.35rem;
    display: block;
}
.booking-showtime-form select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 0.6rem 0.7rem;
}
.booking-pending-note {
    display: block;
    margin-top: 0.35rem;
    color: #8fa2c5;
    font-size: 0.72rem;
}

.booking-order-block { margin-top: 1rem; }
.booking-order-block > span {
    color: #afbed8;
    font-size: 0.82rem;
}
.booking-seat-tags {
    margin-top: 0.45rem;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    border-radius: 0.6rem;
    min-height: 40px;
    color: #8fa2c5;
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
}
.booking-seat-tags.has-data {
    border-style: solid;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.booking-seat-tags.has-data span {
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    color: #ffd8b6;
}

.booking-combo-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}
.booking-combo-title span {
    color: #8fa2c5;
    font-size: 0.75rem;
    font-weight: 400;
}
.booking-combo-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.55rem;
    max-height: 320px;
    overflow: auto;
}
.booking-combo-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.65rem;
    padding: 0.45rem;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 0.5rem;
    align-items: center;
}
.booking-combo-image {
    width: 50px;
    height: 50px;
    border-radius: 0.45rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}
.booking-combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.booking-combo-info strong {
    display: block;
    font-size: 0.9rem;
}
.booking-combo-info small {
    color: #8fa2c5;
    display: block;
    line-height: 1.35;
    margin: 0.1rem 0;
    font-size: 0.73rem;
}
.booking-combo-info span {
    color: #ffd8b6;
    font-weight: 700;
    font-size: 0.82rem;
}
.booking-combo-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.booking-combo-qty button {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: transparent;
    color: #afbed8;
    cursor: pointer;
}

.booking-summary {
    margin-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 0.8rem;
    display: grid;
    gap: 0.45rem;
}
.booking-summary > div {
    display: flex;
    justify-content: space-between;
    color: #afbed8;
    font-size: 0.85rem;
}
.booking-summary strong { color: #fff; }
.booking-summary .booking-grand {
    margin-top: 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}
.booking-summary .booking-grand strong { color: #ffb270; }

.booking-continue-btn {
    margin-top: 1rem;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .booking-seat-layout {
        grid-template-columns: 1fr;
    }
}
 / *   R e v i e w   F o r m   S t y l e s   * / 
 . r e v i e w - f o r m - c o n t a i n e r   { 
         b a c k g r o u n d :   # 1 1 1 ; 
         p a d d i n g :   2 4 p x ; 
         b o r d e r - r a d i u s :   1 2 p x ; 
         m a r g i n - b o t t o m :   2 4 p x ; 
         b o r d e r :   1 p x   s o l i d   # 3 3 3 ; 
 } 
 . r e v i e w - f o r m   h 4   { 
         m a r g i n :   0   0   1 6 p x ; 
         f o n t - s i z e :   1 . 2 5 r e m ; 
         c o l o r :   # f f f ; 
 } 
 . r e v i e w - f o r m - r a t i n g   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   1 6 p x ; 
         m a r g i n - b o t t o m :   1 6 p x ; 
 } 
 . s t a r - r a t i n g - i n p u t   { 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   r o w - r e v e r s e ; 
         j u s t i f y - c o n t e n t :   f l e x - e n d ; 
 } 
 . s t a r - r a t i n g - i n p u t   i n p u t [ t y p e = ' r a d i o ' ]   { 
         d i s p l a y :   n o n e ; 
 } 
 . s t a r - r a t i n g - i n p u t   l a b e l   { 
         f o n t - s i z e :   2 4 p x ; 
         c o l o r :   # 4 4 4 ; 
         c u r s o r :   p o i n t e r ; 
         p a d d i n g :   0   4 p x ; 
         t r a n s i t i o n :   c o l o r   0 . 2 s ; 
 } 
 . s t a r - r a t i n g - i n p u t   i n p u t [ t y p e = ' r a d i o ' ] : c h e c k e d   ~   l a b e l , 
 . s t a r - r a t i n g - i n p u t   l a b e l : h o v e r , 
 . s t a r - r a t i n g - i n p u t   l a b e l : h o v e r   ~   l a b e l   { 
         c o l o r :   # f b b f 2 4 ; 
 } 
 . r e v i e w - f o r m - c o m m e n t   t e x t a r e a   { 
         w i d t h :   1 0 0 % ; 
         b a c k g r o u n d :   # 2 2 2 ; 
         b o r d e r :   1 p x   s o l i d   # 4 4 4 ; 
         b o r d e r - r a d i u s :   8 p x ; 
         p a d d i n g :   1 2 p x ; 
         c o l o r :   # e e e ; 
         f o n t - s i z e :   1 r e m ; 
         r e s i z e :   v e r t i c a l ; 
         m a r g i n - b o t t o m :   1 6 p x ; 
         o u t l i n e :   n o n e ; 
         t r a n s i t i o n :   b o r d e r - c o l o r   0 . 2 s ; 
 } 
 . r e v i e w - f o r m - c o m m e n t   t e x t a r e a : f o c u s   { 
         b o r d e r - c o l o r :   # f b b f 2 4 ; 
 } 
 . r e v i e w - l o g i n - p r o m p t   { 
         t e x t - a l i g n :   c e n t e r ; 
         p a d d i n g :   2 0 p x ; 
         c o l o r :   # a a a ; 
 } 
 . r e v i e w - l o g i n - p r o m p t   a   { 
         c o l o r :   # f b b f 2 4 ; 
         t e x t - d e c o r a t i o n :   u n d e r l i n e ; 
 } 
 . r e v i e w - d i v i d e r   { 
         b o r d e r :   0 ; 
         h e i g h t :   1 p x ; 
         b a c k g r o u n d :   # 3 3 3 ; 
         m a r g i n :   3 2 p x   0 ; 
 } 
 
 
 
/* ========================================
   REVIEW FORM STYLES
   ======================================== */
.review-form-container {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-form-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.review-form h4 {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-form h4::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.5rem;
    background: var(--primary);
    border-radius: 2px;
}

.review-form-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-form-rating label {
    font-weight: 600;
    color: var(--text-muted);
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating-input input[type='radio'] {
    display: none;
}

.star-rating-input label {
    font-size: 1.75rem;
    color: #334155;
    cursor: pointer;
    padding: 0 0.25rem;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-rating-input input[type='radio']:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #fbbf24;
    transform: scale(1.1);
}

.review-form-comment textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 1.5rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-form-comment textarea:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.review-form-comment textarea::placeholder {
    color: var(--text-secondary);
}

.review-login-prompt {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.review-login-prompt p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.review-login-prompt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.review-login-prompt a:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

.review-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2.5rem 0;
}