﻿
/* MAIN HALL */
.hall-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 20px;
    border: 2px solid #CF2030;
    border-radius: 0px 0px 10px 10px;
}
/* SIDE AREAS */
.side {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 0px;
}

/* TABLE DESIGN */
.table {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid #33333338;
    cursor: pointer;
    margin: auto;
    transition: 0.2s;
    background: #fff;
    border-radius: 6px;
}

    .table:hover {
        transform: scale(1.1);
    }

.available {
    background: #fff;
}

.pending {
    background: #ffc107;
    pointer-events: none;
}

.final {
    background: #28a745;
    color: #fff;
    /*  cursor: not-allowed; */
}

/* PASSAGE */
.passage {
    width: 50px;
    background: linear-gradient(#8b0000, #b30000);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    border-radius: 8px;
    height: auto;
    position: absolute;
    top: 105px;
    right: auto;
    left: auto;
    bottom: 40px;
    margin: 0 auto;
}
.heading {
    background: #CF2030;
    color: #fff;
    padding: 6px;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
    border: 2px solid #CF2030;
    margin-top:15px;
}

/* FORM */
#bookingForm {
    display: none;
    margin: 30px auto;
    background: #fff;
    padding: 55px;
    border-radius: 10px;
    box-shadow: 0 0 70px 0 #0000000d;
    max-width: 560px;
}
    #bookingForm input {
        border: 1px solid #00000038;
        border-radius: 10px;
        height: 55px;
        padding: 10px 15px !important;
    }
button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}
    button.submitbutton {
        background: #CF2030;
        border-radius: 11px;
    }
span#tblNo {
    color: #CF2030 !important;
}
.table.final {
    position: relative;
}

    /*.table.final .table-inner::after {
        content: attr(data-name) "\A" attr(data-chapter);
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.85);
        color: #fff;
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 5px;
        white-space: nowrap;
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: 0.2s;
    }
.table-inner::after {
    content: attr(data-name) "\A" attr(data-chapter);
  white-space: pre-line;*/  /*👈 ye fix hai*/ 
    /*position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 99;
    text-align: center;
}*/

    .table.final:hover .table-inner::after {
        opacity: 1;
        visibility: visible;
    }
.passage.responsive {
    display: none;
}
@media (max-width: 1024px) {
    .passage {
        position: relative;
        padding: 115px 30px;
        top: 0;
        bottom: 0;
    }
    .hall-wrapper {
        gap: 10px;
    }
    .tablerowdirection {
        overflow-x: auto;
        display: block;
    }
}
    @media (max-width: 768px) {
        .hall-wrapper {
            gap: 17px;
            min-width: 859px;
        }
        .passage.responsive {
            display: block;
        }
        .tablerowdirection {
            margin: 0px 0;
        }
    }
@media (max-width: 767px) {
    .hall-wrapper {
        min-width: 789px;
    }
    .passage {
        padding: 105px 30px;
    }
   
}

 