#tabContainer {
    position: fixed;
    bottom:0;
    width: 100vw;
    height: auto;
    z-index: 1;
}
.page {
    display: none;
    height:75vh;
    width: 97.5%;
    margin: 0 auto 50px;
    background-color: var(--grey);
    border-radius: 10px 10px 0 0;
    box-shadow: 0px -2px 5px var(--modal-bg);
    overflow-y: scroll;
}

.page h2 {
    font-family: var(--font1);
    font-size: clamp(22px, 15vw,32px);
    color: var(--blue);
    margin: 20px auto;
    padding: 0 clamp(10px, 16px,32px);
    text-shadow: 0px 0px 3px #000;
    text-align: center;
}

.page  section h2{
    font-family: var(--font2);
    font-size: clamp(18px, 8vw, 28px);
    color: var(--card-bg);
    margin: 8px auto;
    text-align: center;
    text-shadow: none;
}

.page #list {
    margin-bottom: 40px;
}



@media only screen and (min-width: 400px) {
    .page {
        width: 400px;
        top: 50%;
        left: 50%;
        border-radius: 10px;
    }
    .modalScroll {
        height: 90%;
    }
}

  /* Ensuring responsive design */
  @media (max-width: 600px) {
    .page .chat-item {
      padding: 0.8rem;
    }

    .page .chat-main {
      gap: 0.8rem;
    }

    .page .chat-subdetails {
      font-size: 0.7rem;
      gap: 0.8rem;
    }

    .page .icon-with-number .number {
      font-size: 0.7rem;
    }
  }

.page a {
    color: var(--card-bg);
}

.page #relativePage {
    position: relative;
}

.page .flexDetails > a, #relativePage > a {
    color: var(--card-bg);
}

.page .navigator .next {
    position: absolute;
    top: 5%;
    right: 5px;
    font-size: 3em;
    text-decoration: none;
    text-shadow: 2px 2px 4px var(--card-bg);
}

.page .navigator .prev {
    position: absolute;
    top: 5%;
    left: 5px;
    font-size: 3em;
    text-decoration: none;
    text-shadow: 2px 2px 4px var(--card-bg);
}

.page .flexDetails a {
    font-size: 1.4em;
}

.page .rate {
    color: #ee64b5;
    font-weight: 1000;
    font-size: 1.6em;
    text-shadow: 1px 1px 2px var(--card-bg);
}

.page .rightInfo {
    font-size: 1.6em;
    font-weight: 1000;
}


.page #revenueTable td, .page #revenueTable th {
    text-align: left;
}



.page .list {
    position: relative;
    display: flex;
    width: 97.25%;
    background-color: var(--card-bg);
    padding: 7.5px 7.5px 0 7.5px;
    box-shadow: 1px 1px 2px var(--card-bg);
    margin: 15px auto;
    border-radius: 10px;
    min-height: 70px;
}

.page #list .customer {
    position: relative;
}

.page .addNew {
    border: 1.5px solid var(--blue);
    box-shadow: 0 0 3px var(--blue);
}

.page .list a {
    color: var(--blue);
}

.page .list img, .page .list video {
    width: 20%;
    max-height: 100px;
}


.page .list .listMainBottom img {
    width: 30px;
}

.page .orderNo {
    width: 20%;
    text-align: center;
    font-family: var(--headFont);
    font-weight: bold;
    font-size: 2em;
    color: var(--blue);
    align-content: center;
}

.page .listMsg {
    font-size: 1.4em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page .topRightDetails {
    color: var(--pink);
}

.page .listRightSec {
    width: 80%;
}
.page .listTopInfo {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.page .listMainTop{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.page .listMainBottom {
    width: 95%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 5px;
    left: 2.5%;
}

.page .listMessageName {
    font-size: 1.2em;
    padding-left:10px;
    text-align: center;
    display: inline-block;
}

.page span {
    color: var(--grey);
    font-size: 1em;
}
.page .cardRate {color: var(--pink);}

.page .list a {
    font-size: 1.2em;
}

.page .listTopInfo .listTime, .page .listBottomInfo .listRate {
    color: var(--pink);
    font-size: 1.2em;
    align-content: center;
}


.page .listBottomInfo {
    display: flex;
    width: 80%;
    justify-content: space-between;
    padding-right: 10px;
    position: absolute;
    bottom: 10px;
    right: 0;
}

.page .listBottomInfo .listMessage {
    padding-left: 15px;
    color: var(--grey);
    font-size: 1.6em;
    text-overflow: ellipsis;
}



.page .listBottomInfo img {
    width: 30px;
}

#bottomNav {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    /* height: 7.5%; */
    bottom: 0;
    background-color: #fff;
    box-shadow: 1px 0 2px var(--modal-bg);
}

#bottomNav > div {
    position: relative;
    flex-grow: 1;
}

#bottomNav .notification {
    display: none;
    position: absolute;
    right: 0;
    top: -20px;
    box-shadow: 0 0 5px black;
    border-radius: 50%;
}

#bottomNav .notifications {
    display: none;
    position: absolute;
    color: aliceblue;
    right: 12px;
    top: -18px;
    font-weight: 900;
    font-size: 1.2em;
}

#bottomNav .bottomNavDiv {
    background-color: #b3b3b3;
    box-shadow: inset 0 0 5px #6c6c6c
}

#bottomNav img {
    width: clamp(35px,10vw, 40px);
    margin: auto;
    display: block;
}