/* CSS File */

header {
    background-color:white;
    padding: 5px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
   font-family: sans-serif;
    font-size: 0.8rem;
}
        header ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            background-color: black;
            overflow: hidden;
        }     

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 5px 10px;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 10px;
    float: left;
}

.nav-list a {
    display: block;
    color: white;
    text-align: center;
    padding: 5px 10px;
    text-decoration: none;
}

 

/* Change color on hover */
.nav-list a:hover {
    background-color:  rgba(197, 182, 182, 0.966);
}
      
     
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-list {
        display: none; /* Hide the menu by default */
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Full width */
        position: absolute; /* Position it absolutely */
        top: 60px; /* Position below the navbar */
        left: 0;
        background-color: #333; /* Match navbar background */
    }

    .nav-list.active {
        display: flex; /* Show menu when active */
    }

    .menu-toggle {
        display: flex; /* Show toggle button */
    }
}


body {
  font-size: 16px; /* Base font size */
  float: center;
  font-family:  Arial, Helvetica, sans-serif;
  width: 95%;
  margin: 0 auto;
  direction: left;
  padding: 5px;
  color: black;
}

h1 {
    text-align: center;
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    color:crimson;
}
h2 {
    text-align: center;
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color:crimson;
}



p {
    font-size: 1.2rem;
    }


.bordered_rect {
    border: 2px solid rgb(0, 8, 15); 
    margin: 0 auto;
    padding: 10px; 
    border-radius: 8px; 
    background-color: #ffffff; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.281); 
    overflow-x: auto;
}    


.bordered_rect_signup {
    width: 70%;
    border: 2px solid rgb(0, 8, 15); 
    margin: 0 auto;
    padding: 10px; 
    color: black;
    border-radius: 8px; 
    background-color: #c4c0c0ec; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.281); 
    overflow-x: auto;
}    

.messageR, .messageG {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 9999;
    color: black;
    display: block; /* Ensure it is visible initially */
}

.messageR {
    background-color: #f1938c; /* Red for error */
}

.messageG {
    background-color: #56f436; /* Green for success */
}

.message_div {
    width: 50%;
    border: 2px solid rgb(0, 8, 15); 
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: center;
    padding: 10px; 
    border-radius: 8px; 
    color: crimson;
    font-weight: bold;
    background-color: #ebbebe; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.281); 
    overflow-x: auto;


}

.messageG_div {
    width: 50%;
    border: 2px solid rgb(0, 8, 15); 
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: center;
    padding: 10px; 
    border-radius: 8px; 
    color: Black;
    font-weight: bold;
    background-color: greenyellow; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.281); 
    overflow-x: auto;


}

 /* select dropdown */
select {
    font-family: Arial, sans-serif; 
    font-size: 0.91rem;
    font-weight: bold;
    color:crimson;
    padding: 4px;
}

.item_select {
    font-family: Arial, sans-serif; 
    font-size: 0.8rem;
    color:black;
    padding: 2px;
}
.dr_select {
    font-family: Arial, sans-serif; 
    font-size: 0.8rem;
    color:crimson;
    padding: 2px;
}

 /* live search dropdown */
  #searchResults {
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    width: 200px;
  }
  .result-item {
    padding: 8px;
    cursor: pointer;
  }
  .result-item:hover {
    background-color: #f0f0f0;
  }


 /* hide arrows in <input number> */
.no-arrows::-webkit-outer-spin-button,
.no-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows in Firefox */
.no-arrows[type="number"] {
    -moz-appearance: textfield;
}
/* llll */
.game_title_css {
  text-align: left;
  font-weight: bold;
  font-size: 1.5rem;
  color: rgb(133, 11, 7);
}

.game_text_css {
   text-align: left;
   font-size:1.2rem;
   color:black;
}

 /* Whatsapp */
.whatsapp_icon {
    width: 40px; 
    height: 40px;
}
 
 /* llll */
.next_previous_pages {
    font-size: 1.5rem;
}
 /* btn */
 
  .btn_1 {
    background-color: rgb(133, 11, 7);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    padding: 2px 5px; 
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap; 
    width: auto; 
    min-width: 65px; 
    height: auto; 
    line-height: 1.5; 
    box-sizing: border-box; 
}
  
  .btn_1:hover {
    background-color: red; 
    color: white;
  }

    .btn_2 {
    background-color: rgb(133, 11, 7);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    padding: 2px 5px; 
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap; 
    width: auto; 
    min-width: 125px; 
    height: auto; 
    line-height: 1.5; 
    box-sizing: border-box; 
}

  
  .btn_2:hover {
    background-color: red; 
    color: white;
  }
  
   .select_pt {
    background-color: white;
   }

   .select_pt:hover {
    background-color: rgb(138, 134, 134);

   }

   .icon_messenger img {
    width: 70px;
    height: auto;
    border: none;
    cursor: pointer;
}


.icon_messenger img:hover {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.btn_sign_up {
    background: url('../../images/btn_sign_up.png') no-repeat center center;
    background-size: contain;   
    width: 100px;               
    height: 100px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_sign_up:hover {
    background: url('../../images/btn_sign_up.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}




  .btn_new_file {
    background: url('../../images/btn_new_file.png') no-repeat center center;
    background-size: contain;   
    width: 60px;               
    height: 40px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_new_file:hover {
    background: url('../../images/btn_new_file.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}

.btn_add {
    background: url('../../images/btn_add.png') no-repeat center center;
    background-size: contain;   
    width: 30px;               
    height: 30px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_add:hover {
    background: url('../../images/btn_add.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}

.btn_delete {
    background: url('../../images/btn_delete.png') no-repeat center center;
    background-size: contain;   
    width: 30px;               
    height: 30px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_delete:hover {
    background: url('../../images/btn_delete.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}

.btn_edit {
    background: url('../../images/btn_edit.png') no-repeat center center;
    background-size: contain;   
    width: 40px;               
    height: 40px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_edit:hover {
    background: url('../../images/btn_edit.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}



.btn_pay {
    background: url('../../images/btn_pay.png') no-repeat center center;
    background-size: contain;   
    width: 40px;               
    height: 40px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_pay:hover {
    background: url('../../images/btn_pay.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}

.btn_save {
    background: url('../../images/btn_save.png') no-repeat center center;
    background-size: contain;   
    width: 35px;               
    height: 35px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_save:hover {
    background: url('../../images/btn_save.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}

.btn_go {
    background: url('../../images/btn_go.png') no-repeat center center;
    background-size: contain;   
    width: 40px;               
    height: 40px;               
    border: none;              
    cursor: pointer;           
    color: transparent;  
    display: inline-block;      
    font-size: 0;               
    outline: none;  
    
}

.btn_go:hover {
    background: url('../../images/btn_go.png') no-repeat center center;
    background-size: contain;
    transform: scale(1.1);  /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Add box shadow on hover */
}


 /* Arabic keyboard */
#arabic_keyboard {
      display: flex;
      flex-wrap: wrap;
      direction: rtl;
      justify-content: center;
      }
    #arabic_keyboard button {
      font-size: 18px;
      margin: 4px;
      border: 1px solid #00000093; 
      padding: 3px;
      cursor: pointer;
      font-weight: bold;
      background-color: #f3f0f0f6; 
      color: black;
    }

     #arabic_keyboard button:hover {
    background-color:#850e0e33; 
    transform: scale(1.1);
}

.arabic_keyboard_HideShow_btn {
    background: none;       
    border: none;           
    color: inherit;         
    padding: 0;             
    font: inherit;          
    cursor: pointer;        
}
.arabic_keyboard_HideShow_btn :hover {
                 
    transform: scale(1.1);  /* Slightly enlarge the button */       
}

 /* Tables */


table {
            width: 100%;
            border-collapse: collapse;
            font-family: Arial, Helvetica, sans-serif;
                      
        }
        th, td {
            border: 0px; 
            text-align: left;
            padding: 2px;
            vertical-align: top;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
            vertical-align: bottom;
        }
        

        .pt_search_table th {
            color: crimson;
            
        }
        .pt_search_table tr {
            border-bottom: 2px solid rgba(156, 154, 154, 0.925); 
            
        }
        .pt_search_table tr:last-child {
            border-bottom: none; /* Remove the bottom border for the last row */
        }
        .pt_search_table th:first-child {
            text-align: right;
        }
        .pt_search_table td:first-child {
            text-align: right;
        }



        .pt_info_table th {
            background-color: #f2f2f2;
            vertical-align: bottom;
            font-size: 0.9rem;
            color: crimson;
            padding: 10px;
        }
        .pt_info_table td {
             font-size: 1rem;
             color: black;
             padding: 10px;
        }

        


        .pt_note_table th {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 1rem;
            color: crimson;
           
        }

        .pt_note_table tr {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.9rem;
            color: black;
            border-bottom: 3px solid rgba(68, 65, 65, 0.925); 
            
        }
        .pt_note_table td {
            padding: 5px;
            border-left: 1px solid rgba(156, 154, 154, 0.925); 

        }

        .tx_plan_table  th {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 1rem;
            color: crimson;
        }

        .tx_plan_table tr {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 1rem;
            color: black;
            border-bottom: 2px solid rgba(156, 154, 154, 0.925); 
        }




        .financial_table th {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.7rem;
            color: crimson;
           
        }


        .financial_table tr {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.9rem;
            color: black;
            border-bottom: 2px solid rgba(156, 154, 154, 0.925); /* Add a bottom border for each row */
        }


        .report_table th {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.7rem;
            color: crimson;  
        }

        .report_table tr {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.9rem;
            color: black;
            border-bottom: 1px solid rgba(156, 154, 154, 0.925);    
        }
        

        .total_report {
            font-size: 1.2rem;
            font-weight: bold;
            color: crimson;
            background-color: #f2f2f2; 

        }

 /* llll */

textarea {
      resize: vertical;
}


  /* Booking Calendar Styles */

  /* main calendar */

    .main_calendar_table {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid #0c0b0b;
       
   }

    .main_calendar_table td {
        text-align: left;
        padding: 0px;
        vertical-align: top;
        border: 0.7px solid #0c0b0b;
        
    }

    .main_calendar_table th {
        text-align: center;
        padding: 0px;
        font-size: 1.1rem;
        color: crimson; 
        vertical-align: bottom; 
        border: 0.7px solid #0c0b0b;

    }
    .calendar_day {
        font-size: 1.4rem;
        text-align: center;
        padding: 10px;

    }

    /* Mini Calendar Styles */
    .mini-calendar { 
        width: 30%; 
        border-collapse: collapse; 
    }
    .mini-calendar th, .mini-calendar td { 
        padding: 1px; 
        border: 0.8px solid #ddd; 
        color:crimson;
        text-align: center; 
        font-size: 0.8rem;
    }
    .mini-calendar a { 
        color: #02060a; 
        text-decoration: none; 
    }
    .highlight-today { 
        background-color: #f8645c; 
        border-radius: 4px; 
    }
    .highlight-selected { 
        background-color: #c7cdcf; 
        border-radius: 4px; 
    }

   /* Calendar others */

    .timeslot_table {
        border-collapse: collapse; 
        width: 100%; 
       
      }
      
      .timeslot_table td,
      .timeslot_table th {
        border: none; 
        padding: 0px; 
        border-bottom: 0.3px solid #b6aeae;
      }
      
              

.timeslot_empty {
  width: 100%;
  height: 20px;
  padding: 0px;
  background-color: white;
  cursor: pointer; 
  color: rgb(5, 5, 5); 
  text-align: left; 
  border: 0 px solid white; 
  display: inline-block;
}



.timeslot_booked {
  width: 100%;
  padding: 0px;
  background: linear-gradient(to bottom, #fcc3c3 20.3px, #a3a2a7 20.7px); /* Two colors */
  cursor: pointer; 
  color: rgb(63, 2, 2); 
  text-align: left;
  vertical-align: top;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.9rem;
  z-index: 5; /* Ensure it overlaps other cells */
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  
 
   }
   
    

.view_calendar {
    font-weight: bold;
    color: crimson;
    text-decoration: underline;
    font-size: 1.1rem;
   }

/* shorten text */
.tooltip {
    max-width: 200px;
    position: absolute;
}




  /* Footer */

footer {
    background-color: black;
    font-family: sans-serif;
    color: white;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    width: 100%;
}