﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b1324;
    color: white;
    line-height: 1.5;
    overflow-y: auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    background: #0b1324;
    position: sticky;
    top: 0;
    z-index: 1000; 
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}
    .logo a {
        color: #00ff88 !important;
        text-decoration: none
    }

.search {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #334155;
    background: #1e293b;
    color: white;
    outline: none;
    width: 200px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0 30px;
    flex: 1;
    position: relative;
}
    .menu a {
        text-decoration: none;
        color: #4fd8ff;
    }
    .menu li {
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        color: #cbd5e1;
        transition: 0.3s;
        white-space: nowrap;
        position: relative;
    }

        .menu li:hover {
            color: white;
        }

.login {
    background: #1f2937;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .login:hover {
        background: #374151;
    }

.banner {
    position: relative;
    width: 100%;
    height: 85vh; 
    overflow: hidden;
}

    .banner::after {
        background: linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    }

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

    .slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover; 
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

        .slider img.active {
            opacity: 1;
            z-index: 1;
        }

.banner-info {
    position: absolute;
    bottom: 100px;
    left: 60px;
    max-width: 700px;
    z-index: 10; 
}

.movie-title {
    font-size: clamp(32px, 5vw, 64px); 
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.1;
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.imdb {
    border: 1px solid #facc15;
    color: #facc15;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.episode, .tags span {
    color: #9ca3af;
    font-size: 14px;
}

.overview {
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    z-index: 20;
    transition: 0.3s;
    user-select: none;
}

    .arrow:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .arrow.left {
        left: 20px;
    }

    .arrow.right {
        right: 20px;
    }

.movie-theatre-mode {
    background-color: #0b0e11; 
    color: #ffffff; 
    padding: 1px 0; 
    margin: 0;
    
}

.movie-theatre-mode h1,
.movie-theatre-mode h5,
.movie-theatre-mode p {
    color: #ffffff;
}

.movie-theatre-mode .title {
    color: #00adc4;
    font-weight: bold;
}

.movie-nav {
    gap: 30px;
    border-bottom: 1px solid #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center; 
    font-size: 36px; 
    font-weight: 800;
}

.nav-active {
    color: #00adc4;
    border-bottom: 3px solid #00adc4;
    padding-bottom: 8px;
}

.nav-inactive {
    color: #888;
    cursor: pointer;
}

.movie-card {
    margin-bottom: 40px;
}

.poster-img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.age-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 13px;
}

.t16 {
    background-color: #fbca04;
    color: #000;
}

.t18 {
    background-color: #e91e63;
    color: #fff;
}

.info-section {
    padding-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.title {
    color: #00adc4;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5em;
    min-height: 3em;
    margin-bottom: 10px;
}

.detail-item {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #ddd;
}

    .detail-item strong {
        color: #fff;
        font-weight: 500;
    }

.date-highlight {
    color: #00adc4;
    font-weight: bold;
}

.poster-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3; 
    border-radius: 15px;
    overflow: hidden;
    background-color: #1a202c;
}

    .poster-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
.movie-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3; 
    overflow: hidden;
    border-radius: 12px;
    background-color: #1a202c;
}

    .img-wrapper img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

.title-blue {
    color: #00adc4;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1rem;
}

.btn-buy-ticket {
    display: block;
    width: 100%;
    padding: 12px 0;
    margin-top: auto;
    text-align: center;
    background: #2b6cb0;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none !important;
}

    .btn-buy-ticket:hover {
        background: #0d4f8b;
    }
    .btn-buy-ticket:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

.bank-item input[type="radio"] {
    display: none;
}

.bank-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 10px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .bank-card img {
        max-width: 100%;
        max-height: 100%;
        filter: grayscale(20%); 
    }

.bank-item input[type="radio"]:checked + .bank-card {
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

    .bank-item input[type="radio"]:checked + .bank-card img {
        filter: grayscale(0%);
    }

.bank-card:hover {
    transform: translateY(-3px);
    border-color: #666;
}

.menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    min-width: 200px;
    padding: 10px 0;
    border: 1px solid #333;
    z-index: 1000;
}

.menu li:hover > ul {
    display: block;
}

.menu li ul li {
    display: block;
    width: 100%;
    margin: 0;
}

    .menu li ul li a {
        padding: 10px 20px;
        display: block;
        color: #4fd8ff;
        text-decoration: none;
    }

.error-msg {
    display: none;
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 5px;
}

.custom-input:focus + .error-msg {
    display: block;
}

.profile-container {
    max-width: 550px;
    margin: 60px auto;
    padding: 40px;
    background-color: #111; 
    border: 1px solid #222;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    color: #fff;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

    .profile-container h2 {
        text-align: center;
        margin-bottom: 30px;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 700;
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-size: 0.9rem;
        color: #00bcd4; 
        font-weight: 500;
    }

.input-dark {
    width: 100%;
    padding: 12px 15px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

    .input-dark:focus {
        outline: none;
        border-color: #00bcd4;
        background-color: #222;
        box-shadow: 0 0 12px rgba(0, 188, 212, 0.3);
    }
    .input-dark[readonly] {
        background-color: #0d0d0d;
        border-color: #222;
        color: #666;
        cursor: not-allowed;
    }
    .input-dark[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(1); 
        cursor: pointer;
    }
.btn-update {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: transparent;
    color: #00bcd4;
    border: 2px solid #00bcd4;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1px;
}
    .btn-update:hover {
        background-color: #00bcd4;
        color: #000;
        box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
        transform: translateY(-3px);
    }

    .btn-update:active {
        transform: translateY(-1px);
    }
@media (max-width: 600px) {
    .profile-container {
        margin: 20px;
        padding: 25px;
    }
}

.navbar-right {
    display: flex;
    align-items: center; 
    justify-content: flex-end;
    gap: 25px; 
    padding-right: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cinema-user-link {
    display: flex;
    align-items: center;
    color: #00bcd4; 
    text-decoration: none; 
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

    .cinema-user-link:hover {
        color: #ffffff;
        background-color: rgba(0, 188, 212, 0.1);
        box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
    }

    .cinema-user-link i {
        font-size: 1.2rem;
        margin-right: 8px; 
        color: #00bcd4;
    }

html, body {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
}

.modal-content {
    background-color: #121212 !important; 
    color: #00fbff !important;
    border: 1px solid #00fbff !important;
    background-image: none !important;
}

@media (prefers-color-scheme: light) {
    .movie-item, .modal-content {
        background-color: #121212 !important;
    }
}

input[type="date"] {
    background-color: #1a1a1a !important;
    color: #00fbff !important;
    border: 1px solid #333 !important;
    padding: 10px;
    border-radius: 5px;
    color-scheme: only light !important;
}
    input[type="date"]:focus {
        border-color: #00fbff !important;
        box-shadow: 0 0 5px #00fbff;
    }

#selectNgayModal, #selectGioModal {
    background-color: #1a1a1a !important; 
    color: #00fbff !important; 
    border: 1px solid #333 !important; 
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300fbff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

    #selectNgayModal:focus, #selectGioModal:focus {
        border-color: #00fbff !important;
        box-shadow: 0 0 8px rgba(0, 251, 255, 0.4);
        outline: none;
    }

    #selectNgayModal option, #selectGioModal option {
        background-color: #1a1a1a !important; 
        color: #ffffff !important; 
        padding: 10px;
    }

.swal-glossy-black {
    border: 1px solid #333 !important; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.9), inset 0 1px 2px rgba(255,255,255,0.2) !important; 
    border-radius: 15px !important;
}

.forgot-password-container {
    text-align: center; 
    margin-top: 15px; 
}

.forgot-password-link {
    font-size: 13px;
    color: #aaaaaa; 
    text-decoration: none;
    transition: all 0.3s ease;
}

    .forgot-password-link:hover {
        color: #ffffff; 
        text-decoration: underline;
    }