@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdn.datatables.net/2.0.7/css/dataTables.dataTables.css');
@import url('https://cdn.datatables.net/buttons/3.0.2/css/buttons.dataTables.css');

.spinner {
    display: none;
}

.notification {
    display: none;
}

.upload-error {
    display: none;
}

.notification-2 {
    background-color: #F79623;
    display: none;
}

.cursor {
    cursor: pointer;
}

.body-color {
    background-color: #F4F4F4;
}

.image-logo {
    width: 100%;
}

.img-logo-div {
    width: 35%;
}

.img-logo-div-2 {
    width: 13.4%;
}

.img-logo-div-3 {
    width: 25%;
}

.dashboard-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: white;
    background-color: #8458A5;
}

.dashboard-txt:hover {
    background-color: #F79623;
    color: #2C2D2D;
    text-decoration: dashed;
}

.unavailable-txt:hover {
    background-color: #F79623;
    color: #2C2D2D;
    text-decoration: dashed;
}

.unavailable-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-size: 13.5px;
    font-weight: 600;
    font-style: normal;
    color: white;
    background-color: #8458A5;
}

.back-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    height: 10px;
    color: #8458A5;
}

.back-txt:hover {
    color: #2C2D2D;
    text-decoration: dashed;
}

.back-to-main-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    height: 10px;
    color: #8458A5;
}

.back-to-main-txt:hover {
    color: #2C2D2D;
    text-decoration: dashed;
}

.upload-back-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    height: 10px;
    color: #8458A5;
}

.upload-back-txt:hover {
    color: #2C2D2D;
    text-decoration: dashed;
}
.unavail-back-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    height: 10px;
    color: #8458A5;
}

.unavail-back-txt:hover {
    color: #2C2D2D;
    text-decoration: dashed;
}

.upload-txt {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: white;
    background-color: #8458A5;
}

.upload-txt:hover {
    background-color: #F79623;
    color: #2C2D2D;
    text-decoration: dashed;
}

.title-font {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #2C2D2D;
}

.sub-cont-font {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #2C2D2D; 
}

.room-no-style {
    width: 7%;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
}

.room-no-style-2 {
    width: 7%;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
}

.bg-room-no {
    background-color: #F79623;
}

.date-cont {
    width: 9%;
}

.date-cont-2{
    width: 9%; 
}

.stock-design {
    background-color: #D9D9D9;
    width: 6px;
    height: 6px;
    border-radius: 6px;
}

.timing-txt {
    width: 5%;
}

.timing-select-fill {
    flex: 1;
    width: 5.1%;
    width: auto;
    border: 2px solid #F79623;
    border-radius: 20px;
    cursor: pointer;
}

.timing-fill {
    background-color: #F79623;
}

.book-button {
    background-color: #F79623;
    border-radius: 20px;
}

.unavail-save-button {
    background-color: #F79623;
    border-radius: 20px;
    display: none;
}

.drop-down-cont {
    border: none;
    background-color: #FFFFFF;
    border-radius: 20px;
    width: 100%;
    height: 30px;
    padding: 5px;
}

.drop-down-parent-cont{
    width: 30%;
}

.timing-parent-cont {
    display: flex;
    width: 80.6%;
    border-radius: 20px;
}

.upload-excel-btn{
    background-color: #F79623;
}

.wid-time {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('../images/Down-Button.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px 20px;
}

.unavail-time-cont {
    margin-left: 55px;
}

.unavail-timing-txt {
    width:  60px;
}

.hide_tb_col {
    display: none;
}

.unavail-fill-div {
    height: 30px;
    width: 60px;
    border: 1px solid #F79623;
}

.filled {
    background-color: #F79623;
    border: 1px solid #D9D9D9;
}

#unavail-date {
    width: 150px;
}

.dummy-unavail-time {
    height: 130px;
}

.update-unavail-detil {
    display: none;
}

.unavail-cancle {
    display: none;
}

.highlight-lite {
    color: #bcbcbc;
}

/* Responsiveness for Mobile and Tablet */
@media screen and (max-width: 992px) {
    .date-cont, .date-cont-2 {
        width: 25%;
    }
    .img-logo-div, .img-logo-div-2, .img-logo-div-3 {
        width: 40%;
    }
    .drop-down-parent-cont {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .container-section {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .date-cont, .date-cont-2 {
        width: 45%;
        margin-bottom: 10px;
    }
    .room-no-style, .room-no-style-2 {
        width: 15%;
        margin-bottom: 5px;
    }
    .timing-txt {
        width: 15%;
    }
    .timing-parent-cont {
        width: 100%;
    }
    .drop-down-parent-cont {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
    .d-flex {
        flex-wrap: wrap;
    }
    .sub-cont-font {
        font-size: 14px;
    }
    .book-button {
        width: 50% !important;
    }
}

@media screen and (max-width: 480px) {
    .date-cont, .date-cont-2 {
        width: 48%;
    }
    .room-no-style, .room-no-style-2 {
        width: 30%;
    }
    .timing-select-fill {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .title-font h4 {
        font-size: 18px;
    }
}



/* ===== Mobile: compact grid ===== */
@media (max-width: 576px) {

  /* Make grid columns smaller for mobile */
  .theatre-grid {
    grid-template-columns: 92px repeat(10, 78px); /* hall col + slots */
    gap: 10px;
    padding-bottom: 14px;
  }

  .grid-header {
    font-size: 12px;
    padding: 6px 4px;
  }

  /* Hall labels: smaller + wrap nicely */
  .hall-label {
    height: 46px;
    padding: 6px;
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
    white-space: normal;        /* allow wrap */
    word-break: break-word;     /* avoid overflow */
    border-radius: 10px;
  }

  /* Slot cells: smaller */
  .slot-cell {
    height: 46px;
    font-size: 11px;
    border-width: 2px;
    border-radius: 10px;
  }

  /* Optional: make date pill smaller */
  .date-display {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Optional: legend wrap */
  .legend {
    flex-wrap: wrap;
    gap: 10px;
  }
}


@media (max-width: 390px) {
  .theatre-grid {
    grid-template-columns: 84px repeat(10, 72px);
    gap: 8px;
  }
  .hall-label, .slot-cell {
    height: 42px;
  }
  .hall-label { font-size: 11px; }
  .grid-header { font-size: 11px; }
}