/* Tablet screens */
@media (min-width: 600px) {
  .flexbox-container {
    max-width: 500px;
    margin: 0 auto;
  }
  h5 {
    font-size: 1.4rem;
  }
}

/* Desktop screens */
@media (min-width: 1024px) {
  .flexbox-container {
    max-width: 700px;
  }
  h5 {
    font-size: 1.6rem;
  }
  input, button {
    font-size: 18px;
  }
}
body {
  background: url('GPS.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: sans-serif;
  color: #333;
}
  *,
  *::after,
  *:before{
      padding: 0;
      margin: 0;
      box-sizing: border-box;
  }
  html{
      font:normal 11px sans-serif;
  }
  h1{
      margin: 1rem 2rem;
  }
  form{
      
      margin: 10px;
      width: 100%;

  }
  fieldset{
      display: flex;
      overflow: auto;
      box-sizing:border-box;
      width: 100%;
      padding-right: 0;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
  }
  .modal{
    width: 100%;
    max-height: 100%;
    justify-content: center;
    
  }
  .modal-content{
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(108, 7, 7, 0.834);
  }
  .modal-footer{
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(100, 14, 180);
  }

body {
  margin: 10px;
  align-items: center;
  height: auto;
  font-family: 'Varela Round', sans-serif;
  border: none;
/*	background-size: 800px 750px;
*/

  background-size: cover;
}

.fab-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #e53935;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s, color 0.2s;
}
.fab-close:hover {
  background: #e53935;
  color: #fff;
}

  .form-box{
      padding: 8px;
      clear: both;
      max-width: 100%;
      box-sizing: border-box;

      margin-left: 1%;
      margin-right: 1%;
      box-sizing: border-box;
  }
  .form-box label{
      background-color:rgb(192, 192, 192);
      display: block;
      margin-top: 12px;
      font-size: 1.2rem;
      color: black;
      width: auto;
      margin-right: 0.3px;
  }
  .form-box input{
      padding: 10px;
      background-color:rgb(212, 209, 209);
      font-size: 1.5rem;
      line-height:  1.5;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
      
  }


  .form-box input:focus {
      border-radius: 5px;
      background: #ffffff;
      box-shadow:  11px 11px 22px #d9d9d9,
              -11px -11px 22px #ffffff;
  }

  .form-box button{
      font-size: 1.2rem;
      border: 4mm ridge rgba(236, 194, 104, 0.736);
      padding:  0.5rem;
      color: white;
      background-color: rgb(222, 57, 57);
      border-radius: 20% 10%;
      cursor: pointer;
      
  }
  .wide-input {
    width: 350%; 
    max-width: 80%; /* Set a fixed width for the input */
  }
  .flexbox-container {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    align-content: center;
    max-width: 100%;
    margin-left: 10px;
    margin-right: 10px;
      text-align: center;
      flex-shrink: 0;
      padding-top: 10px;
      padding-bottom: 10px;
      padding-left: 10px;
      padding-right: 10px;
      background-color: bisque;
    gap: 10px; /* Add space between items */
  
  }

  .flexbox-container-1{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; /* Align items to the right horizontally */
    flex-direction: column;
    align-items: flex-end;     /* Align items to the right vertically in column direction */
    width: 30%;
    margin-left: auto;
    margin-right: auto;           /* Align container itself to the right */
    text-align: center;
    flex-shrink: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: bisque;
  }

  .flexbox-item {
    flex-shrink: 0;  
    flex-wrap: wrap;
      margin: 10px;
      border: none;
/*      background-size: cover;
      background: url('./default.png') top;
      background-repeat: no-repeat;
*/
  }

  .flexbox-item-1 {
     
    min-height: 100px;
    width: 100%;
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 5px;
    text-align: center;
    background-color: rgba(243, 166, 188, 0.708);
  }
  .flexbox-item-2 {
      
      min-height: 100px;
      width: auto;
      flex-shrink: 2;
      border-radius: 20px;
      padding: 10px;
      text-align: center;
      background-color: rgba(238, 91, 28, 0.159);
      
  }

.flexbox-item-1 table {
  width: 100%;
  table-layout: auto; /* Ensures columns share space equally */
}

.flexbox-item-1 th,
.flexbox-item-1 td {
  width: auto;
  word-break: break-word;
}

  .float{
    width:40px;
    height:40px;
    background-color:#FF1D89;
    color:#FFF;
    border-radius:100%;
    text-align:center;
    box-shadow:
      0 2.8px 2.2px rgba(0, 0, 0, 0.048),
      0 6.7px 5.3px rgba(0, 0, 0, 0.069),
      0 12.5px 10px rgba(0, 0, 0, 0.085),
      0 22.3px 17.9px rgba(0, 0, 0, 0.101),
      0 41.8px 33.4px rgba(0, 0, 0, 0.122),
      0 100px 80px rgba(238, 190, 190, 0.17);
  }

  .float:hover {
    background-color:#ff057e;
  }

  .plus{
    margin-top:10px;
  }
  /* table {
    align-content: center;
    width: 100%;
    padding-left: 0.5rem;
  } */
   table, th, td, tr {
    flex-wrap: wrap;
    border: 1px solid grey;
    border-collapse: collapse;
    align-content: center;
    text-align: center;
    font-size: 11px;
    box-sizing: border-box;

    white-space: normal;   /* Allow wrapping */
    word-break: break-word; /* Break long words if needed */
    vertical-align: top;   /* Optional: aligns text to the top */


    padding: 0.3rem;
  }

  table.center{
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    
  }

  td > input[type='datetime-local'], input[type='time']
  {
      width: 100%; /*this will set the width of the textbox equal to its container td*/
      border-radius: 5px 5px;
  }
  .dashed {
    border-bottom: 1px solid black;
    border-bottom-style: none;
  }

  .pf-button {
    border: none;
    background-color: black;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
  }

  .inputbutton {
    border: none;
    background-color: #6495ed;
    color: white;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    height: 35px;
    font-size:xx-large;
  }
  .js-airportDetail{
    font-size: 8px;
    color: aquamarine;
  }

  .button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: white;
    background-color: #a15977;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .button i {
    margin-right: 10px;
  }
  .button:hover {
    background-color: #08d638;
    transform: scale(1.05);
  }
.watermark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: visible;
  background: url('/public/android-chrome-512x512.png') no-repeat center center;
  background-size: contain; /* or 'cover' */
  opacity: 0.08;
}
.menu-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8); /* subtle backdrop for readability */
  border-radius: 8px;
  max-width: fit-content;
}

.menu-icon {
  height: 3em;
  width: auto;
  opacity: 0.9;
}
.menu-icon:hover {
  opacity: 1.0;
  transform: scale(1.1);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-background {
  background-image: url('flightdb.png'); /* Replace with your actual image path */
  background-size:  50%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px; /* Optional: softens edges */
  padding: 15px;
}
.menu-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6); /* or use rgba(0,0,0,0.3) for dark overlay */
  z-index: 0;
}

.menu-background > * {
  position: relative;
  z-index: 1;
}
