﻿/* ===== canvas BASE ===== */
.ict-canvas {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 260px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* From left */
.ict-canvas-start {
    left: 0;
}

/* From right */
.ict-canvas-end {
    right: 0;
    transform: translateX(100%);
}

/* Show state */
.ict-canvas.show {
    transform: translateX(0);
}

/* Header */
.ict-canvas-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Body */
.ict-canvas-body {
    padding: 0 16px;
    overflow-y: auto;
    flex: 1;
}

/* Close button */
.ict-canvas-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Overlay */
.ict-canvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9980;
}

    .ict-canvas-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

/* Lock scroll */
body.ict-canvas-open {
    overflow: hidden;
}



/* ===== Canvas Base Override ===== */
.booking-canvas, .room-canvas, .booking-single-canvas, .booking-view-canvas {
    width: 375px;
    background: #f5f5f5;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    display: flex;
    flex-direction: column;
}
.ict-nav-mobile{
    list-style:none;
    padding:0;
   
}
    .ict-nav-mobile li {
        padding: 20px 0 !important;

        
    }
        .ict-nav-mobile li a {
            color: var(--ict-darkblue);
            font-size: 1rem
        }
.ict-canvas-body .ict-btn{
    font-size:1rem;
}

    .seat-canvas, .room-canvas {
        width: 315px;
        background: #f5f5f5;
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
        display: flex;
        flex-direction: column;
    }
/* ===== Header ===== */
.booking-header, .seat-header, .room-header, .booking-view-header {
    padding: 24px 24px 10px;
}

    .booking-header h4 {
        font-size: 20px;
        font-weight: 700;
    }

    .booking-header span {
        font-style: italic;
    }

.booking-close, .seat-close, .room-close, .booking-view-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* ===== Body ===== */
.booking-body, .seat-body, .room-body, .booking-view-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
    min-height: 0;
}

.seat-body {
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.select-utility-section {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.booking-info {
    font-size: 14px;
    margin-bottom: 10px;
}

.booking-date {
    margin: 8px 0;
}

.pill {
    background: #e5e5e5;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.booking-time {
    font-size: 13px;
    color: #666;
}

/* ===== Input ===== */
/*.booking-field {
    margin-top: 20px;
}

    .booking-field label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 14px;
    }

    .booking-field input {
        width: 100%;
        height: 40px;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 0 12px;
        outline: none;
    }

        .booking-field input:focus {
            border-color: #4da6ff;
        }*/

/* ===== Footer ===== */
.booking-footer, .seat-footer, .room-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* Buttons */
.btn-secondary {
    flex: 1;
    background: #d9d9d9;
    border: none;
    height: 42px;
    border-radius: 24px;
    cursor: pointer;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(90deg, #5b8cff, #5fd6a0);
    color: white;
    border: none;
    height: 42px;
    border-radius: 24px;
    cursor: pointer;
}

/*======*/
/* ===== Seat block ===== */
.seat-block {
    margin-bottom: 20px;
}

.seat-label {
    font-weight: 600;
    margin-bottom: 6px;
}

/* ===== User chip ===== */
.user-chip {
    display: flex;
    align-items: center;
    background: #e9f3ef;
    border-radius: 24px;
    padding: 6px 10px;
    gap: 10px;
}

    .user-chip img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

.user-info {
    flex: 1;
    font-size: 13px;
}

.user-name {
    font-weight: 600;
}

.user-email {
    font-size: 12px;
    color: #777;
}

.remove-user {
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== Search input ===== */
.seat-search {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0 12px;
    outline: none;
}

    .seat-search:focus {
        border-color: #4da6ff;
    }

/* ===== Add button ===== */
.btn-add {
    margin-top: 10px;
    background: #2f8f6f;
    color: white;
    border: none;
    height: 36px;
    border-radius: 6px;
    padding: 0 16px;
    cursor: pointer;
}
/* Seat Canvas */
.btn-canvas-close {
    background-color: #dddddd;
    flex: 1;
    border: none;
    height: 42px;
    border-radius: 24px;
    cursor: pointer;
}
/* Booking */
#bookingSingleCanvas .canvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*Dropdown Mnu*/
.ict-mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

    .ict-mobile-dropdown.show {
        max-height: 400px;
    }

/* Xoay icon khi mở*/
.ict-dropdown-toggle i {
    transition: transform 0.3s ease;
}