﻿/* Reset và Base Styles */

.iconstyle{
    font-size: 28px;
  padding: 15px;
  color: #422e27;
}
/* Container chính cho layout 2 cột */
.main-container {
    display: grid;
    /* Mặc định 2 cột trên màn hình lớn */
    grid-template-columns: 1fr 1fr; /* Chia làm 2 cột bằng nhau */
    gap: 30px; /* Khoảng cách giữa 2 cột */
    max-width: 1200px; /* Chiều rộng tối đa của toàn bộ layout */
    margin: 0 auto; /* Căn giữa container chính */
    padding: 20px;
    box-sizing: border-box;
}

/* Styling cho từng cột */
.column {
    padding: 0; /* Bỏ padding mặc định nếu có */
}

/* Điều chỉnh padding/margin cho các container bên trong cột */
.icon-grid-container {
    background-color: #fff; /* Nền trắng như ảnh gốc */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    height: 100%; /* Đảm bảo container cột icon chiếm hết chiều cao */
}

.booking-container {
    background-color: #ffffff; /* Nền trắng như ảnh gốc */
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: none; /* Bỏ max-width cố định để nó chiếm hết cột */
    width: 100%;
    box-sizing: border-box;
}


/* === STYLES TỪ VÍ DỤ LƯỚI ICON === */

/* Lưới icon */
.icon-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Cột linh hoạt bên trong lưới */
    gap: 15px; /* Khoảng cách giữa các item icon */
     /* Bỏ padding và nền đã áp dụng cho .container gốc */
     padding: 0;
     background-color: transparent;
     box-shadow: none;
     border-radius: 0;
}


.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px; /* Giảm padding nhẹ so với bản gốc */
    border-radius: 10px;
    background-color: #ffffff;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 35px; /* Giảm kích thước icon nhẹ */
    color: #fd5056;
    margin-bottom: 8px; /* Giảm margin dưới icon */
}

.grid-item p {
    font-size: 15px; /* Giảm font-size nhẹ */
    color: #333;
    margin: 0;
}


/* === STYLES TỪ VÍ DỤ FORM BOOKING === */

.booking-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 22px; /* Điều chỉnh kích thước tiêu đề */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 15px;
}

/* Styling cho input ngày */
.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    background-color: #f9f9f9;
}

.date-input-wrapper input[type="date"] {
    flex-grow: 1;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 16px;
    color: #333;
     -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.calendar-icon {
    color: #fd5056;
    margin-left: 10px;
    pointer-events: none;
}


/* Styling cho lựa chọn giờ */
.time-options {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #555;
    font-size: 15px;
}

.radio-label input[type="radio"] {
    margin-right: 5px;
    accent-color: #fd5056;
}

/* Styling cho phần vé */
.tickets-group {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.ticket-type {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
}

.ticket-type:last-child {
    margin-bottom: 0;
}

.ticket-type span {
    color: #555;
}

.ticket-type .price {
     font-weight: bold;
     color: #fd5056;
     margin: 0 15px;
}
.ticket-type .pricekm {
          font-weight: bold;
     color: #000;
     margin: 0 15px;
           text-decoration:line-through !important;
           color:#000;
     }
.ticket-type select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px; /* Điều chỉnh kích thước font */
    color: #333;
    background-color: #fff;
    cursor: pointer;
}


/* Styling cho phần Add Extra */
.add-extra-options {
     border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    color: #555;
     font-size: 15px;
}

.checkbox-label:last-child {
     margin-bottom: 0;
}

.checkbox-label input[type="radio"] {
    margin-right: 8px;
     accent-color: #fd5056;
}

.extra-price {
    margin-left: auto;
    font-weight: bold;
    color: #fd5056;
    font-size: 15px; /* Điều chỉnh kích thước font */
}


/* Styling cho Total */
.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.total-price {
    color: #fd5056;
}

/* Styling cho nút Book Now */
.book-now-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    padding: 15px 25px; /* Tăng padding: 15px trên/dưới, 25px trái/phải */
    background: linear-gradient(45deg, #fd5056, #fd5056); /* Sử dụng gradient màu tím */
    color: #fff;
    border: none;
    border-radius: 10px; /* Tăng bo góc nhẹ */
    font-size: 18px;
    font-weight: 600; /* Làm chữ đậm hơn một chút */
    cursor: pointer;
    transition: all 0.3s ease; /* Hiệu ứng chuyển đổi mượt mà hơn cho nhiều thuộc tính */
    gap: 12px; /* Tăng khoảng cách giữa chữ và icon */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Thêm đổ bóng */
    text-decoration: none; /* Đảm bảo không có gạch chân nếu là thẻ <a> */
}

.book-now-button:hover {
    background: linear-gradient(45deg, #7b24a6, #8d30b3); /* Đổi màu gradient khi hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Đổ bóng mạnh hơn khi hover */
    transform: translateY(-2px); /* Nâng nhẹ nút lên */
}

.book-now-button:active {
    background: linear-gradient(45deg, #5a158a, #6a1b9a); /* Màu khi click */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Đổ bóng nhẹ hơn khi click */
    transform: translateY(0); /* Trở về vị trí cũ */
}


.book-now-button i {
    font-size: 17px; /* Điều chỉnh kích thước icon */
}

/* Đảm bảo nút vẫn đẹp trên màn hình nhỏ */
@media (max-width: 576px) {
    .book-now-button {
        padding: 12px 20px; /* Giảm padding trên mobile */
        font-size: 16px;
        gap: 10px;
        border-radius: 8px; /* Giảm bo góc nhẹ trên mobile */
    }

    .book-now-button i {
        font-size: 15px;
    }
}

/* Styling cho link Help */
.help-link {
    text-align: center;
    margin-top: 20px;
}

.help-link a {
    color: #fd5056;
    text-decoration: none;
    font-size: 14px;
}

.help-link a:hover {
    text-decoration: underline;
}


/* === MEDIA QUERIES CHO RESPONSIVE LAYOUT CHÍNH === */

/* Chuyển sang 1 cột trên màn hình nhỏ hơn 992px (ví dụ: tablet và mobile) */
@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr; /* Chỉ 1 cột */
        gap: 20px; /* Khoảng cách giữa các phần (icon grid và form) khi xếp chồng */
        padding: 15px;
    }

    /* Điều chỉnh lại các container bên trong cột để hiển thị tốt hơn trên 1 cột */
     .icon-grid-container,
    .booking-container {
        max-width: 100%; /* Giới hạn chiều rộng khi ở 1 cột */
        margin: 0 auto; /* Căn giữa khi ở 1 cột */
        padding: 20px; /* Điều chỉnh padding */
    }

    .icon-grid-container {
         grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Cột nhỏ hơn cho lưới icon */
         gap: 10px;
    }

    .grid-item {
         padding: 10px; /* Giảm padding grid item */
    }

     .icon {
         font-size: 30px;
     }

     .grid-item p {
         font-size: 14px;
     }
}

/* Điều chỉnh thêm cho màn hình rất nhỏ (dưới 576px, ví dụ: điện thoại dọc) */
@media (max-width: 576px) {
     body {
         padding: 10px;
     }

     .main-container {
         gap: 15px;
         padding: 10px;
     }

     .icon-grid-container,
    .booking-container {
        padding: 15px;
    }

     .icon-grid-container {
         grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Cột nhỏ hơn nữa cho lưới icon */
         gap: 8px;
     }

     .grid-item {
         padding: 8px;
     }

     .icon {
         font-size: 25px;
     }

     .grid-item p {
         font-size: 12px;
     }

     /* Điều chỉnh font-size và padding form */
     .booking-container h2 {
         font-size: 20px;
         margin-bottom: 20px;
     }

     .form-group {
         margin-bottom: 15px;
     }

     .form-group label,
     .radio-label,
     .checkbox-label,
     .ticket-type span,
    .extra-price,
     .ticket-type select {
         font-size: 13px;
     }

     .date-input-wrapper,
     .ticket-type select {
         padding: 6px 10px;
     }

     .tickets-group,
    .add-extra-options {
        padding: 10px;
    }

    .time-options {
        flex-direction: column; /* Vẫn xếp dọc giờ */
        gap: 8px;
    }
     
     .ticket-type .price {
         margin: 0 8px;
     }


     .total-section {
         font-size: 16px;
         margin-top: 20px;
         margin-bottom: 20px;
     }



     .help-link a {
         font-size: 12px;
     }
}
/* Styling cho input type="number" thay cho select */
/* Styling cho input type="number" thay cho select */
.ticket-type input[type="number"] {
    padding: 10px 15px; /* Tăng padding: 10px trên/dưới, 15px trái/phải */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    width: 70px; /* Tăng chiều rộng để có thêm không gian */
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Hiệu ứng khi focus */
    /* Bỏ các dòng ẩn mũi tên nếu bạn muốn thấy chúng */
    /*-moz-appearance: textfield;*/ /* Dòng này cho Firefox - bỏ comment nếu muốn hiển thị mặc định */
}

/* Tạo kiểu cho mũi tên trên Webkit (Chrome, Safari...) - Khả năng tùy chỉnh rất hạn chế */
.ticket-type input[type="number"]::-webkit-outer-spin-button,
.ticket-type input[type="number"]::-webkit-inner-spin-button {
    /* Bỏ các dòng dưới nếu bạn muốn thấy mũi tên */
    /* -webkit-appearance: none; */
    /* margin: 0; */

    /* Các thuộc tính có thể thử nhưng không đồng nhất/được hỗ trợ đầy đủ */
    opacity: 1; /* Đảm bảo hiện */
    color: #6a1b9a; /* Có thể đổi màu icon trên một số trình duyệt */
    /* background-color: #f0f0f0;  Không hoạt động tốt */
    /* margin: 5px; *//* Thường không hoạt động để tạo khoảng cách giữa các nút */
}

/* Hiệu ứng khi input được focus (khi click vào để nhập) */
.ticket-type input[type="number"]:focus {
    border-color: #6a1b9a; /* Đổi màu border */
    box-shadow: 0 0 5px rgba(106, 27, 154, 0.3); /* Thêm bóng nhẹ */
    outline: none; /* Bỏ outline mặc định của trình duyệt */
}


/* Điều chỉnh kích thước trên màn hình nhỏ hơn */
@media (max-width: 576px) {
     .ticket-type input[type="number"] {
         font-size: 13px;
         padding: 8px 12px; /* Giảm padding trên mobile */
         width: 60px; /* Giảm chiều rộng trên mobile */
         /* Bỏ các dòng ẩn mũi tên nếu bạn muốn thấy chúng trên mobile */
         /*-moz-appearance: textfield;*/
     }
      .ticket-type input[type="number"]::-webkit-outer-spin-button,
      .ticket-type input[type="number"]::-webkit-inner-spin-button {
         /* Bỏ comment nếu muốn hiển thị */
          /* -webkit-appearance: none;
             margin: 0;
          */
         /* Các style hạn chế tương tự như trên */
     }
}