/* ================= CONTAINER PRINCIPAL ================= */
#leftbar {
    padding: 15px;
    height: 91vh;
    width: 350px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ddd;
    overflow: hidden; /* OBLIGATORIU */
}

#leftbar, .total-bottom {    background: #f3f3f3;}

.order-details {height:100vh;}
/* ================= MINI CALENDAR (SUS) ================= */
#mini-calendar {
    flex: 0 0 auto;
    padding-bottom:15px; margin-bottom:5px;
    border-bottom: 1px solid #ccc;
}

/* ================= TICKET TABEL ======================== */
#list {
    flex: 1 1 auto;      /* ocupă tot spațiul liber */
    overflow-y: auto;
    position: relative;
}

#list table { margin:0px;
    width: 100%;
    border-collapse: collapse;
}

#list th {padding-bottom:6px}

#list td {
    padding: 4px 6px;
    border-top: 1px solid #ddd;
    height: 18px;
}

#list th {
    text-align: left;
}

#list td:last-child {
    text-align: right;
}

/* ================= TOTAL FIX JOS ================= */
.total-bottom {
    position: sticky;
    bottom: 0;
    padding: 8px 6px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    text-align: right;
    z-index: 10;
}

/* ================= FOOTER FIX JOS ================= */
#cart-footer {
    flex: 0 0 auto;
    border-top: 1px solid #ccc;
}
.order-btn { 
    width:30%; padding:8px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;}

.order-btns {display:flex; gap:10px; justify-content: space-between;}


/*=======================================================*/
/* CONTAINER SALA */
#main {background: #f8f8f8; margin:0;

    display: flex;
    gap: 0px;
    justify-content: center;
    padding: 0px;
    flex-wrap: wrap; /* pe mobil leftbar va ajunge sub SVG */
}

/* Dreapta Sala */
#hall-container {
    flex: 1 1 50%;
    text-align: center;
}
.hall-svg { width: 60%; height: auto; }
circle { cursor: pointer; }

#seatTooltip {
    position: absolute;
    padding: 6px 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    display: none;
    z-index: 9999;
    white-space: nowrap;}
