  /*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  background-color: #dae3ec;
}
  .controls {
    margin-bottom: 10px;
    margin-right: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    background: none;
    position: fixed; /* Fixes the header to the viewport */
    top: 0;          /* Positions it at the top of the viewport */
    left: 0;         /* Positions it at the left of the viewport */
    right: 0;        /* Ensures it spans the full width */
    height: 50px;   /* Define a height for the header */
    padding: 20px;
    width:95%;
    z-index: 10;     /* Ensures the header is above other content */
  }

  .scrolled-table {
    margin-top: 80px;
  }

  .scrolled-container {
    padding-bottom: 20px;
    width:100%;
    overflow: auto; /* Adds scrollbars only when needed */
    border: none;
  }

  .table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 5px 0;
  }

  .fin-header {
    padding: 15%;
    text-align: center;
    }

  .fin-table {
    padding: 0px;
    border-spacing: 0;
    margin: 0;
  }

  .fin-tr, .fin-th, .fin-td {
    padding: 0px;
    background: none;
    border-spacing: 0;
    border: none !important;
    margin: 0;
  }

  tr {
    border-bottom: 2px solid black;
    border-left: none;
    border-right: none;
    border-top: none;

    background: #f9f9f9;
  }

  .item_tr {
    background-color: #e5e8f8;

    border-bottom: 2px solid black;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .item-tr:nth-child(even) {
    background-color: #e5e8f8;
  }

  th, td {
    font-size: 1.2rem;
    border: 1px solid #ddd;
    padding: 1%;
    vertical-align: top;
  }

  th { background: #9dc2ce; }

  img {
    width: 94%;
    height: auto;
    border-radius: 6px;
    background: none;
    box-shadow: .5rem .5rem .5rem rgba(0,0,0,.4);

  }

  .statustext {
    max-width: 50%;    /* Ensures it spans the full width of the screen */
    height: 40px;   /* Define a height for your footer */
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    background-color:#4981b3;
    color: white;
    border: none;
    padding-bottom: 5px;

}
/*============= FOOTER =============*/

#site-footer.fade-out {
    /* Final state (fading out, but still in the DOM flow) */
    opacity: 0;
    max-height: 0;
    padding-top: 0; /* Also transition padding/margin to fully collapse space */
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.site-footer {
    position: fixed; /* Fixes the footer to the viewport */
    overflow: hidden;
    /* opacity: 1;*/
    transition: opacity 1s ease-out, max-height 1s ease-out;
    bottom: 0;      /* Aligns it to the bottom edge */
    left: 0;        /* Aligns it to the left edge */
    width: 100%;    /* Ensures it spans the full width of the screen */
    height: 50px;   /* Define a height for your footer */
    /*background-color: #4981b3; /* Example styling */
    text-align: center; /* Example styling */
    font-weight: bold;
    font-size: .9rem;
    padding-top: 5px;
}
.statustext {
    width: 80%!important;    /* Ensures it spans the full width of the screen */
    height: 40px;   /* Define a height for your footer */
    font-weight: bold;
    font: 1.6rem Arial, sans-serif;
    text-align: center;
    background-color: transparent;
    color: blue!important;   /* Example styling */
    border: none;
    padding-bottom: 5px;
    /*text-shadow: .1rem .1rem .2rem rgba(0,0,0,1); */
}



/*  liquid glass effect  for buttons */

.liquid-glass-button {
  font-size: 1.6rem;

  /* Positioning and size */
  position: relative;
  padding: 10px 20px;
  border-radius: 2rem; /* Rounded corners like Apple design */
  
  /* The glass effect */
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent background */
  backdrop-filter: blur(10px) saturate(180%); /* The key blur effect */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
  box-shadow: 0 4px 20px rgba(31, 38, 135, 0.1), inset 0 4px 20px rgba(255, 255, 255, 0.2); /* Depth and inner glow */
  
  /* Text and appearance */
  color: blue;
  text-decoration: none;
  overflow: hidden; /* Important for the pseudo-element shine */
}

.liquid-glass-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  backdrop-filter: blur(1px);
  box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, 1);
  opacity: 0.6;
  z-index: -1;
  filter: blur(1px);
  /* Add transition and hover effects for movement */
  transition: transform 0.5s ease;
}

.liquid-glass-button:hover::after {
  transform: translateX(100%); /* Simulates light moving across */
}

.liquid-glass-element {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* The core blur effect */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border for definition */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
  font-size: 1.6rem;
  color: blue;
  padding: 10px 20px;
  border-radius: 2rem; 

}

.liquid-glass-combo-left {
    font-size: 1.6rem;
    color: blue;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 2rem 0 0 2rem; /* Rounded corners on the left side */
  }

.liquid-glass-combo-center {
    font-size: 1.6rem;
    color: blue;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 0; /* No rounded corners for the center button */
}

.liquid-glass-combo-right {
    font-size: 1.6rem;
    color: blue;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 0 2rem 2rem 0; /* Rounded corners on the right side */
  }



ul li {
    margin-bottom: 20px; /* Adjust the value as needed */
    list-style-type: none;
}

.modal-rounded {
    border-radius: 1rem;
}

.modal-shadow {
    box-shadow: 0 .5rem .5rem rgba(0,0,0,.4);
} 

/*.   Hamburger menu styles  */

.hamburger {
    /*position: fixed;
    top: 10px;
    left: 10px; */
    font-size: 1.6rem;
    color: blue;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 1rem;
    z-index: 1001;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1000;
}

/* Settings Panel */
.settings-panel {
    position: fixed;
    top: 0;
    left: -260px;
    width: 200px;
    height: 100%;
    background: #fff;
    box-shadow: 10px 0 10px rgba(0,0,0,0.4);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1002;
}

/* Active States */
.settings-panel.active {
    left: 0;
}

.overlay.active {
    display: block;
}

/* Close Button */

.close-btn {
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    float: right;
}

.astext {
    font-size: 1.6rem;
    background:none;
    border:none;
    margin:0;
    padding:0;
    cursor: pointer;
}

/* Settings List */
.settings-list {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.settings-list li {
    font-size: 1.6rem;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.settings-list li:hover {
    color: #007BFF;
}

.statustext {
    width: 80%;    /* Ensures it spans the full width of the screen */
    height: 40px;   /* Define a height for your footer */
    font-weight: bold;
    font: 1.6rem Arial, sans-serif;
    text-align: center;
    background-color: transparent;
    color: blue!important;   /* Example styling */
    border: none;
    padding-bottom: 5px;
    /*text-shadow: .1rem .1rem .2rem rgba(0,0,0,1); */
}
/* modal settings */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* Black background with opacity */
    justify-content: center;
    align-items: center;
}

/*-- Mocals Content --*/
.modal-header {
  background-color: #4981b3;
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
  letter-spacing: .1rem;
  box-shadow: 0 .5rem .5rem rgba(0,0,0,.1);
  z-index: 1;
  width: 100%;
}
.modal-body {
  font-size: 1.2rem;
  font-weight: 600;
  gap: 20px;
}
.center-container {
    display: flex;
    justify-content: center; /* Horizontally centers the content */
    width: 100%;
    gap: 1rem;
}
.left-aligned-content {
    /* The content inside this div naturally left-aligns */
    /* Add an offset using margin or padding if needed */
    margin-left: 20px; /* Example left offset */
    max-width: 200px;  /* Optional: constrain width to enable centering */
    width: 50%;
    /* Add background color to visualize the div */
    background-color: #f0f0f0; 
}

.modal-title {
  font-size: 2rem;
}

.modal-item {
  padding: 10px;
  box-shadow: .5rem .5rem .5rem rgba(0,0,0,.1);
}
.modal-footer {
  background-color: #4981b3;
  padding-top: 20px;
  padding-bottom:20px;
  font-size: 1.15rem;
  height: 50px;
  color: white;
  font-weight: 600;
  letter-spacing: .1rem;
  box-shadow: .5rem .5rem .5rem rgba(0,0,0,.1);
  z-index: 1;
}

.item-container {
  display: flex;
  flex-direction: column;
}

.form-label {
  width: 200px;
  text-align: left;
  font-weight: bold; 
  font-size: 1.2rem;
  padding-left: 20px;
  margin-bottom: 1.5rem;
}

.form-date {
  width: 45%;
  text-align: left;
  font-weight: bold; 
  padding-left: 20px;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 50%;
  text-align: left;
  font-weight: bold; 
  padding-left: 20px;
  border-width: 1px;
  box-shadow: 0 .2rem .2rem rgba(0,0,0,.4);
  gap:1.3rem;
  margin-bottom: 20px;
}

.form-check-checkbox-label {
  font-size: 1.2rem;
  width: 200px;
  justify-content: center;
  text-align: left;
  font-weight: bold;
}

.form-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  margin: 0;
  list-style-type: none;
}

.modal-label {
  font-size: 1.4rem;
  width: 200px;
  text-align: left;
  font-weight: bold; 
  padding-left: 20px;
}

.checkbox {
  width: 1.8em;   /* Makes the checkbox twice the size of the current font */
  height: 1.8em;
  box-shadow: 0 .5rem .5rem rgba(0,0,0,.4);
}

.checkbox-label {
  font-size: 1.4rem;
  text-align: left;
  padding-bottom: 5px;
}
/* Modal Content (centered box) */
.modal-content {
    background-color: #fefefe;
}

.modal-button {
  font-size: 1.4rem;
  font-weight: 800;
  width: 150px;
  height: 50px;
  border: none

}
.list-header-text {
  font-size: 1.3rem;
  font-weight: 800;
}
.list-text {
  font-size: 1.1rem;
  font-weight: 600;
}