:root{

  --main-font: 'Cairo', sans-serif;
    --logo-img: url(/logo.png);
    --login-pattern: url(/public/bg.png);
    --background-color: #e4e0cf;
    --background-sidebar: #1a2868;
    --background-dashboard: #101010;
    --textcolor-dashboard: #ffffff;
    --dashboard-btn: #e3cb9a;
    --background-light: #025089;
    --border-input-color: #79dcffad;
    --background-input-color: #ffffff;
    --color-btn: #ffffff;
    --background-btn: #1a2868;
    --background-hover-btn: #395196;
    --number-of-chair-color: #fff;
    --background-of-seat: #025089;
    --main-padding: 0px 50px 0 50px;
    --main-transition: .2s;

}

.removeBtn{
    background-color: #f73c68;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    transition: .3s;
    color: white;

}
.removeBtn:hover{
    color: white;
    background-color: #f73c6873;
}

.guests-list{

}
*{

    padding: 0;

    margin: 0;

    box-sizing: border-box;

}



body{

    font-family: var(--main-font);

    background-color:var(--background-color) ;

}

a{

    text-decoration: none;

}
#fs{
    background-color: #a80000;
    width: 40px;
    height: 50px;
    display: inline-flex;
    clear: none;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 0px;
    flex-direction: column;
    float: left;
    border-radius: 10px;
}

.sidebar{

    max-width: 140px;

    z-index: 100;

    padding: 18px;

    height:auto;

    display: flex;

    justify-content: center;

    align-content: center;

    flex-direction: column;

    background-color:var(--background-sidebar);

    position: fixed;

    height: 100%;



}

.landing-page .sidebar .link {

    display: flex;

    margin: 20px 0;

    justify-content: center;

    align-content: center;

    flex-direction: column;

    text-align: center;

    transition: .3s;

}

.landing-page .sidebar .link a img{max-width: 46%;filter: hue-rotate(230deg) saturate(200%);}

.landing-page .sidebar .link:hover{

    opacity: .5;

}

.landing-page .sidebar .link p{

    font-size: 12px;

    font-family: 'Roboto', sans-serif;

    text-transform: uppercase;

    margin-top: 7px;

    color: #ffffff;

}

.tab-button{
    font-family:'Cairo' !important;
  
}


/* ----------logo -------------- */

.landing-page .content header {


    padding: 0 50px 0 50px;
    height: 120px;
    background-color: var(--background-light);
    display: flex;
    align-items: center;

}

.landing-page .content header img{

    width:600px; 

}

/* ----------logo -------------- */
.closePOP{
    font-size: 20px;
    cursor: pointer;
    transition: var(--main-transition);
}
.closePOP:hover{
    color: rgba(0, 0, 0, 0.541);
}

@media (max-width : 1025px){

    .sidebar {
        height: 100vh;
        min-width: 100px ;

    }

    .sidebar .link a img {

        max-width: 38% !important;

    }



}

@media (max-width : 493px){

    .sidebar {

        min-width: 75px;

    }

    .landing-page .sidebar .link p {

        font-size: 11px;

    }

}

.hiddenP.zoom-out {
    position: absolute;
    top: 0px;
    left: 7px;
    width: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 5px;
    transform: translateX(5%);
    z-index: 16;
    background-color: #000000bf;
    border-radius: 2px;
    color: white;
    height: 15px;
}

.chairs-section .hiddenP.zoom-out {
    left: 20px;
    width: auto;
}

.zoom-content {
 
 
    position: absolute;
    bottom: 80px;
    right: 100px;
    background-color: white;
 
 
    z-index: 999999;
 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

 .zoom-content input{
    margin: 0 12px;
}
.zoom-content img {
    max-width: 45px;
    padding-top: 3px;
}
.zoom-content.seating-plan-zoom {
    position: fixed;
    bottom: 80px;
    right:75px;
    width: 335px;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    background-color: transparent;
}

.zoom-content.seating-plan-zoom img {
    width: 16px;

}
.zoom-content.seating-plan-zoom .zoom-tools{
    border: 1px solid #012861;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 268px;
    height: 60px;
    border-radius: 31px;
    background-color: white;
}
.zoom-content.seating-plan-zoom .view-icons img {
    margin-left: 20px;
    width: 58px;
    background-color: white;
    border-radius: 20px;
}


 
.modal{
    padding: 0 20px;
}
.modal form h3:first-child{
    margin-bottom: 20px;
}

.modal form .select-categ{
    margin-bottom: 20px;
}
.modal form .select-categ label{
    margin-right: 10px;
}
.modal form h3:last-child{
    margin-bottom: 20px;
}
.modal form select{
    width: 150px;
    position: relative;
    height: 50px;
    border-radius: 20px;
    outline: none;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 12px 18px;
    margin-bottom: 20px;
    background-color: var(--background-color);
    border: 1px solid var(--background-color);
    background-image: url(../images/arrow-down.png);
    background-repeat: no-repeat;
    background-position: right 18px bottom 20px;
    background-size: 15px;
    cursor: pointer;
}
.modal form input[type="submit"] {
    display: block;
    padding: 14px 20px;
    background-color: var(--background-sidebar);
    border-radius: 40px;
    transition: var(--main-transition);
    color: var(--background-light);
    margin-right: 20px;
    border: none;
    cursor: pointer;
}



.overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255,255,255,0.8) url("/public/assets/images/loader.gif") center no-repeat;
}
/* Turn off scrollbar when body element has the loading class */
body.loading{
    overflow: hidden;   
}
/* Make spinner image visible when body element has the loading class */
body.loading .overlay{
    display: block;
}


.back-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 2px solid #ccc;
}

.back-button:hover {
    background-color: #ddd;
    color: #000;
}

.tab-content {
    width: 1600px;
    overflow-x: auto;
}
.tab-buttons {
    overflow-x: auto;
    width: 1600px;
}

/* Table styling */
.tab-content  .table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

.tab-content  .table-bordered {
    border: 1px solid #ddd;
}

.tab-content  .table-bordered td, 
.tab-content .table-bordered th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

/* Header styling */
.tab-content  .table thead td {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Action buttons styling */
.tab-content  .edit a {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tab-content  .edit a:hover {
    background-color: #0056b3;
}

/* Form select dropdown styling */
.tab-content  select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.tab-content select:focus {
    border-color: #007bff;
}

/* Zone styling */
.tab-content  .zone {
    font-weight: bold;
    color: #333;
}

/* Checkbox image */
.tab-content  .check img {
    width: 30px;
    height: 30px;
}


/* Styling the dropdown (select element) */
.tab-content  select[name="nGuests"] {
    width: 120px;
    padding: 10px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect for select */
.tab-content   select[name="nGuests"]:hover {
    background-color: #f1f1f1;
}

/* Focus effect for select */
.tab-content  select[name="nGuests"]:focus {
    border-color: #007bff;
    background-color: #fff;
}
/* Styles for nSpecial dropdown */
.tab-content  select[name="nSpecial"] {
    width: 120px;
    padding: 10px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover and focus states */
.tab-content  select[name="nSpecial"]:hover {
    background-color: #f1f1f1;
}

.tab-content  select[name="nSpecial"]:focus {
    border-color: #007bff;
    background-color: #fff;
}
.tab-content   table td .edit a {
    padding: 7px 25px;
}
.tab-content   table tr td:last-child{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row-reverse;
}
.tab-content table thead tr td:last-child{
    height: 58px;
}




.overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255,255,255,0.8) url("/public/assets/images/loader.gif") center no-repeat;
}
/* Turn off scrollbar when body element has the loading class */
body.loading{
    overflow: hidden;   
}
/* Make spinner image visible when body element has the loading class */
body.loading .overlay{
    display: block;
}

.htmx-request#loader {
    display: flex;
}

.loader-container {
  display: none;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  width: 100vw;  /* Full viewport width */
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8); /* Optional background for visibility */
  z-index: 9999; /* Ensure the loader is above all content */
}

.loader {
  width: 45px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(#A52A2A 0 0);
  background: 
    var(--c) 0%   50%,
    var(--c) 50%  50%,
    var(--c) 100% 50%;
  background-size: 20% 100%;
  animation: l1 1s infinite linear;
}
@keyframes l1 {
  0%  {background-size: 20% 100%,20% 100%,20% 100%}
  33% {background-size: 20% 10% ,20% 100%,20% 100%}
  50% {background-size: 20% 100%,20% 10% ,20% 100%}
  66% {background-size: 20% 100%,20% 100%,20% 10% }
  100%{background-size: 20% 100%,20% 100%,20% 100%}
}

.alert {
  padding: 20px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 15px;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}




/* public/plan/view/stage/{ID}} 
   public/plan/view/seating/{id}}
*/
@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0.2; }
    100% { opacity: 1; }
}

.blink-temp {
    animation: blink 0.5s linear infinite;
    background-color: red !important;
}
.tables .row .table .booking-plan.blink-temp .chair.booked {
    background-color: red !important;
}
/********************************/


.border-invited {
    border: 2px solid yellow !important;
}

.border-accepted {
    border: 2px solid orange !important;
}
.border-confirmed {
    border: 2px solid green !important;
}
.border-rejected {
    border: 2px solid red !important;
}


@media (max-width: 1321px) {
    .landing-page .sidebar .link {
    margin: 10px 0;
}
}
