@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    min-height: 100vh;
    background: #1f2025;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.navbar {
    padding: 15px 0;
    background-color: #2e3037; /* Dark background to match ticket design */
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: red;
    margin-right: 5px;
}

.book {
    width: 100%;
    min-height: 85vh;
}

.book .left {
    background: #2e3037;
    padding: 20px;
}

.book .left img {
    width: 100%;
}

.book .left .play {
    position: relative;
    background: #fd6565;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0px 0px 20px #fd6565;
    transition: .3s linear;
    cursor: pointer;
    margin: -18px auto 0;
    overflow: hidden; /* Ensures shape integrity */
}

.book .left .play i {
    font-size: 24px; /* Adjusts icon size */
    pointer-events: none; /* Ensures click goes to parent div */
}

.book .left .play:hover {
    transform: rotate(360deg);
}


.book .left .cont {
    margin-top: 30px;
    color: #fff;
}

.book .left .cont h6 {
    font-size: 13px;
    margin-top: 10px;
}

.book .left .cont p {
    font-size: 12px;
    margin-bottom: 10px;
}

.book .right {
    padding: 20px;
    position: relative;
}

.book .right video {
    z-index: -8;
    display: none;
    object-fit: cover;
}

.book .right::before {
    content: '';
    width: 100%;
    height: 250px;
    background: url('img/bg.png') no-repeat center -30px/cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    border-radius: 20px;
}

.book .right::after {
    content: '';
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, transparent, #1f2025);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    border-radius: 20px;
}

.book .right .head_time h1 {
    font-weight: 600;
}

.book .right .head_time .time h6 {
    font-size: 13px;
}

.book .right .head_time .time button {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    transition: .3s linear;
}

.book .right .date_type .title {
    font-size: 14px;
    margin-bottom: 5px;
}

.book .right .crd {
    border-top: 1px solid rgba(184, 184, 184, 0.2);
    padding: 5px 0;
    gap: 10px;
}

.book .right .crd li {
    list-style: none;
    color: #fff;
    cursor: pointer;
}

.book .right .crd li h6:nth-child(2) {
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    transition: .3s linear;
}

.book .right .crd li h6.time_point:hover,
.book .right .crd li h6:nth-child(2):hover {
    background: #fd6565;
}

.h6_active {
    background: #fd6565 !important;
}

.screen {
    margin-left: 10%;
    width: 80%;
    height: 80px;
    border-top: 5px solid #6bd0f2;
    border-radius: 20%;
    text-align: center;
    padding-top: 20px;
    font-weight: 800;
    color: #fff;
    font-size: 14px;
    letter-spacing: 5px;
    text-shadow: 0 0 5px rgba(101, 253, 253, 0.8);
    box-shadow: inset 0 10px 20px rgba(184, 184, 184, 0.2);
}

.book .right .chair {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book .right .chair .column-labels {
    gap: 6px;
    color: #fff;
    font-size: 12px;
}

.book .right .chair .column-labels span {
    min-width: 30px;
    text-align: center;
}

.book .right .chair .seat-row {
    gap: 10px;
}

.book .right .chair .seat-row.top-group + .seat-row.middle-group,
.book .right .chair .seat-row.middle-group[data-row="F"] + .seat-row.bottom-group {
    margin-top: 25px;
}

.book .right .chair .seat-row .seat-group {
    gap: 6px;
}

.book .right .chair .seat-row .aisle {
    width: 20px;
    flex-shrink: 0;
}

.book .right .chair .seat-row span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.book .right .chair .seat-row .seat {
    width: 30px;
    height: 30px;
    background: rgba(158, 158, 158, 0.4);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    position: relative;
    flex-shrink: 0;
}

.book .right .chair .seat-row .seat.booked {
    background: rgba(62, 49, 49, 0.3);
    cursor: not-allowed;
}

.book .right .chair .seat-row .seat.selected {
    background: #a0f6a0;
    color: #000;
}

.book .right .chair .seat-row .seat:hover:not(.booked) {
    background: #a0f6a0;
    color: #000;
}

.book .right .chair .seat-row .seat::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(184, 184, 184, 0.2);
    border-radius: 3px;
}

.book .right .details .details_chair {
    gap: 40px;
}

.book .right .details .details_chair li {
    list-style-type: none;
    position: relative;
    color: #fff;
    font-size: 12px;
}

.book .right .details .details_chair li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 2px;
    width: 20px;
    height: 15px;
    border-radius: 5px;
    background: rgba(158, 158, 158, 0.4);
}

.book .right .details .details_chair li:nth-child(2)::before {
    background: rgba(97, 56, 56, 0.3);
}

.book .right .details .details_chair li:nth-child(3)::before {
    background: #a0f6a0;
}

.book .left .book_tic {
    padding: 15px 25px;
    background: linear-gradient(135deg, #fd6565, #ff1a1a);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(253, 101, 101, 0.7);
    transition: transform 0.3s, box-shadow 0.3s;
    display: none;
    margin-top: 30px;
}

.book .left .book_tic:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(253, 101, 101, 0.2);
}

@media (max-width: 768px) {
    .book .left {
        padding: 10px;
    }

    .book .right {
        padding: 15px;
    }

    .book .right .chair .seat-row {
        justify-content: center;
    }

    .book .right .crd {
        gap: 5px;
    }

    .book .right .details .details_chair {
        gap: 20px;
    }

    .book .left .book_tic {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .book .right .head_time {
        flex-direction: column;
        align-items: start;
    }

    .book .right .head_time .time {
        margin-top: 10px;
    }

    .screen {
        height: 60px;
        font-size: 12px;
    }
}

/* Footer Styles */
.footer {
    position: absolute;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer {
        font-size: 12px;
        padding: 8px 0;
    }
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2e3037;
}

::-webkit-scrollbar-thumb {
    background: #fd6565;
    border-radius: 10px;
}