
/*GLOBAL STYLE*/
/*LOGIN STYLE*/
/*ADMIN STYLE*/
/*MODAL STYLE*/
/*BUTTON STYLE*/
/*FONTS STYLE*/

/*GLOBAL START*/

body{ 
    background-color: #e8e8e8;
}

p{
    line-height:normal;
    text-align:center;
    margin:0;
}

.container{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100vw; 
}

.width-50{
    width: 50%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;}

@media only screen and (max-width: 600px) {
    .width-50{
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 14px;
}
}

/*GLOBAL END*/



/*LOGIN START*/
.login-container{
    display:flex;
    flex-direction:column;
    width:60vw;
    height: 100vh;
    justify-content:center;
    align-items:center;
        margin:auto;
}

.login-form{
    display:flex;
    flex-direction:column;
    justify-content:space-evenly;
    width:90%;
    height:80%;
    padding-right:20px;
    padding-left:20px;
    background-color: white;
    border-radius: 30px;
    align-self: center;

    max-height: 600px;
    width: inherit;
}

.login-head-text{
    font-size:50px;
}

.login-button{
    margin-top:20px;
    margin-left:10px;
}

/*LOGIN END*/



/*ADMIN START*/

.admin-container{
    border-radius:20px;
    background-color:white;
    width:95vw; 
    margin:30px;
    padding:50px;
}

.admin-head-text{
    font-size:40px;
}

.admin-subhead-text{
        font-size:35px;
        margin-top:40px;
}

.admin-subhead-text{
        font-size:35px;
        margin-top:40px;
        width:fit-content;
}

.copy-button{
    border:none;
    background-color:transparent;
}

.copy-tooltip {
  position: relative;
  display: inline-block;
}

.copy-tooltip .tooltiptext {
    visibility: hidden;
    width: 149px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
    height: 30px;
    justify-items: center;
    align-content: center;
}

.copy-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.copy-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.header-button{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.alert{
    position:fixed;
    width:40vw;
    top:1%;
    right:1%;
}

.tab{
    display:flex;
}


/*ADMIN END*/

/* COMMENTARY START */

@media print {
    @page {
        size: auto; /* Use default size */
        margin: 20px; /* Remove default margins */
    }
    
    body {
        -webkit-print-color-adjust: exact; /* Ensures colors print correctly */
        print-color-adjust: exact;
    }

    /* Hide page title, URL, and timestamp */
    header, footer {
        display: none;
    }

    .contact-info {
        page-break-before: always;
    }
}


.commentary-container{
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    /*width:85vw; */
    margin: auto;
   
}

.commentary-input-container{
display: flex;
flex-direction: column;
width: 80vw;
justify-content: center;
margin-top: 1rem;
margin-bottom: 1rem;
}

.commentary-inputs{
    width: 80%;
    justify-self: center;
}

.main-title{
    margin: 30px;
    text-align: -webkit-center;
}

.title{
    text-decoration: underline;
}

.width-70{
    width: 70%;
}

@media (max-width: 768px) { 
    .width-70{
        margin:20px
    }
   
}

.airshow-commentary-form{
    border: 5px ridge;
    margin: 0.5rem;
}
.commentary-image{
    height: auto;
    width:auto;
    max-height: 210px;
        object-fit: contain;
}
.main-title {
    margin: 10px;
}
.city-div{
    display: none;
}

.com-ar{
    direction: rtl;
}
.com-title{
    /* border-bottom: 3px solid; */
    display: flex;
}
.underline{
    margin-top: -12px;
    border-bottom: 3px solid #000;
}
.headerblock{
    max-width: fit-content;
    justify-self: center;
}

.discount-img{
    height:20%;
    border:solid 2px black;
    border-radius:10px;
}

#discount-code{
margin:0;
}

.discount-code-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    justify-self: center;
    width: 60%;
    height:30px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.06);
}

/* COMMENTARY END */

/*MODAL START*/
.update-modal{
    display:flex;
    justify-content:center;
    opacity:0;
    position: fixed;
    width: 80vw;
    height: 500px;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.6);
    z-index: -10;
    top: 20px;
    border-radius: 20px;
    transform: translateY(60px);
    transition: all 0.5s linear, transform 0.5s linear;
    flex-wrap:wrap;
    overflow:scroll;
}

.create-modal{
    display:flex;
    justify-content:center;
    opacity:0;
    position: fixed;
    width: 80vw;
    height: 500px;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.6);
    z-index: -10;
    top: 20px;
    border-radius: 20px;
    transform: translateY(60px);
    transition: all 0.5s linear, transform 0.5s linear;
    flex-wrap:wrap;
    overflow:scroll;
}

.filter-modal{
    height: 300px;
    width: 450px;
    position: absolute;
    background: white;
    border: black 1px solid;
    z-index: 1;
    border-radius: 20px;
    margin: 10px;
    display:none;
    justify-content:center;
    align-items:start;
    flex-direction:column;
    padding:40px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
}

.filter-select{
    margin:20px;
}

.discount-modal{
    position:fixed;
    display:none;
    width:100%;
    height:100%;
    justify-content:center;
    align-items:center;
    background-color:rgba(0,0,0,0.3);
    top:0;
    
}
.discount-container{
    display:flex;
    flex-wrap:wrap;
    width:80%;
    height:80%;
    justify-content:center;
    align-items:center;
    background-color:white;
    border-radius:20px;
    
}

@media only screen and (max-width: 600px) {
    .discount-container{
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    width:80%;
    height:fit-content;
    padding:20px;
    justify-content:center;
    align-items:center;
    background-color:white;
    border-radius:20px;
    
}
}
/*MODAL END*/


/*BUTTON START*/
.buttons {
    display:flex;
    justify-content: space-evenly;
    height: 100px;
    width: 100%;
    padding-top: 20px;
}

.btn2{
    width: 100px;
    height: 50px;
    border-radius: 10px;
    background-color: gray;
    color: white;
    transition: all 0.3s linear;
}

.btn2:hover{
    background-color: darkgray;
}
.btn3{
    width: 100px;
    height: 50px;
    border-radius: 10px;
    background-color: blue;
    color: white;
    transition: all 0.3s linear;
}

.btn3:hover{
    background-color: white;
    color: #000;
    border: blue 3px solid;
}

.btn4{
    margin-left:10px;
    width: 150px;
    height: 40px;
    border-radius: 5px;
    background-color: white;
    color: gray;
    border: gray 2px solid;
    transition: all 0.3s linear;
}

.btn4:hover{
    background-color: gray;
    color: #fff;
    
}

.add-btn{
    width:200px;
    height:37px;
    float:right;
}

.tablinks{
    width:200px;
    height:37px;
    border :1px gray solid;
    background-color:white;
}
.tablinks.active{
       width:200px;
    height:37px;
    border :1px green solid;
    background-color:white;
    border-bottom:none;
}
.tablinks.filter{
       width:50px;
}

.filter-btn{
    display:flex;
    justify-self:end;
}
.filter-buttons {
    display:flex;
    justify-content: space-evenly;
    width: 100%;
}
/*BUTTON END*/


/* FONTS START */
.zain-extralight {
    font-family: "Zain", serif;
    font-weight: 200;
    font-style: normal;
}

.zain-light {
    font-family: "Zain", serif;
    font-weight: 300;
    font-style: normal;
}

.zain-regular {
    font-family: "Zain", serif;
    font-weight: 400;
    font-style: normal;
}

.zain-bold {
    font-family: "Zain", serif;
    font-weight: 700;
    font-style: normal;
}

.zain-extrabold {
    font-family: "Zain", serif;
    font-weight: 800;
    font-style: normal;
}

.zain-black {
    font-family: "Zain", serif;
    font-weight: 900;
    font-style: normal;
}

.zain-light-italic {
    font-family: "Zain", serif;
    font-weight: 300;
    font-style: italic;
}

.zain-regular-italic {
    font-family: "Zain", serif;
    font-weight: 400;
    font-style: italic;
}

/*FONTS END*/
@media only screen and (max-width: 600px) {
*{
        text-wrap: auto;
}
    .main-title {
    font-size: 35px;
    white-space: nowrap;
    }
    .attach{
        font-size: medium;
    }
     h1{
      font-size: 1rem;
    }
    h5{
         font-size: 0.8rem;
    }
  h4,label,h, .zain-bold,.col-form-label{
         font-size: medium;
         line-height: normal;
    }
    .underline {
    margin-top: -10px;
    border-bottom: 2px solid #000;
}
}