.timerRow {
  display: flex;
  gap: 20px;
  align-items: center;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Use full viewport height */
  background-color: #f4f4f4;
  margin: 0;
}

.japa-container {
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure space between sections */
}

.timer {
  font-size: 48px;
  padding-bottom: 20px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.laps {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 12rem; /* Adjust for better balance */
  margin-bottom: 10px;
  padding-right: 10px; /* Add padding for scroll bar visibility */
}

.data-input-buttons,
.data-save-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0; /* Equal margin for consistency */
}

.data-input-buttons button,
.data-save-buttons button {
  padding: 10px 20px; /* Slightly larger padding for better touch targets */
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.data-input-buttons button:hover,
.data-save-buttons button:hover {
  transform: scale(1.05);
}

.data-input-buttons button.start,
.data-save-buttons button.start {
  background-color: #4caf50;
  color: white;
}

.data-input-buttons button.lap {
  background-color: #2196f3;
  color: white;
}

.data-save-buttons button.reset {
  background-color: #ffc107;
  color: white;
}

.data-save-buttons button.stop {
  background-color: #f44336;
  color: white;
}

.laps div {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.laps div:nth-child(even) {
  background-color: #e6e6e6;
}

.laps div:hover {
  background-color: #dcdcdc;
}

.lap-time {
  font-weight: bold;
}

.lap-quality {
  font-style: italic;
}

/* Popup styles */
.popup,
.password-popup,
.scale-popup,
.success-popup,
.stats-popup,
.confirm-popup,
.japa-prev-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content,
.confirm-popup-content,
.password-popup-content,
.scale-popup-content,
.success-popup-content,
.stats-popup-content,
.japa-prev-popup-content,
.main-container-content {
  padding: 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 21rem;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #f8d4ad;
}

.popup-content h2,
.confirm-popup-content h2,
.password-popup-content h2,
.scale-popup-content h2,
.success-popup-content h2,
.stats-popup-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.popup-content h3,
.confirm-popup-content h3,
.password-popup-content h3,
.scale-popup-content h3,
.success-popup-content h3,
.stats-popup-content h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #333;
}

.popup-content input[type="text"],
.popup-content textarea,
.popup-content select,
.password-popup-content input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #fff5ea;
  font-family: Arial, sans-serif;
}

.popup-content input[type="date"] {
  width: 100%;
  padding: 9px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.popup-content label {
  text-align: left;
  margin-top: 10px;
  font-weight: bold;
}

.popup-content label.required::after {
  content: " *";
  color: red;
}

.popup-content button,
.confirm-popup-content button,
.password-popup-content button,
.scale-popup-content button,
.success-popup-content button,
.stats-popup-content button {
  width: 100%;
  padding: 10px 0;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.popup-content .green,
.confirm-popup-content .green {
  background-color: #43a047;
  color: white;
}

.popup-content .purple,
.japa-container .purple,
.confirm-popup-content .purple {
  background-color: #6a0dad;
  color: white;
}

.popup-content .blue,
.japa-container .blue,
.confirm-popup-content .blue {
  background-color: #2196f3;
  color: white;
}

.popup-content .green:disabled {
  background-color: #a5d6a7; /* Lighter color to indicate disabled state */
  color: #c8e6c9; /* Light color for text when disabled */
  cursor: not-allowed; /* Shows a not-allowed cursor to indicate it cannot be clicked */
}

.password-popup-content .green {
  background-color: #43a047;
  color: white;
}

.success-popup-content .green {
  background-color: #43a047;
  color: white;
}

.popup-content .red,
.confirm-popup-content .red {
  background-color: #f44336;
  color: white;
}
.password-popup-content .red {
  background-color: #f44336;
  color: white;
}

.scale-popup-content .enter {
  background-color: #4caf50;
  color: white;
}
.scale-popup-content .red {
  background-color: #f44336;
  color: white;
}

.stats-popup-content .red {
  background-color: #f44336;
  color: white;
}

.popup-content .orange {
  background: #d9822b !important;
  color: white !important;
  cursor: pointer !important;
}

.popup-content .orange:hover {
  background: #c46f1c !important;
}

.popup-content .lightOrange {
  background-color: #f0d8b0 !important;
  color: #5a3e1b !important;
  cursor: pointer !important;
}

.popup-content .lightOrange:hover {
  background-color: #e4c993 !important;
}

/* Radio buttons */
.scale-popup-content .radio-group {
  display: inline-block;
  margin: 5% 0;
}

.scrollable-content {
  padding-right: 10px; /* Optional: Adds some space to the right for scroll bar */
  padding-left: 10px;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 90vh; /* Adjust for better balance */
  margin-bottom: 10px;
}

.scrollable-content-table {
  padding-right: 10px; /* Optional: Adds some space to the right for scroll bar */
  flex-grow: 1;
  overflow-y: auto;
  max-height: 50vh; /* Adjust for better balance */
  margin-bottom: 10px;
}

.radio-group input[type="radio"] {
  margin-right: 5px; /* Space between radio button and label */
}

@media screen and (max-width: 600px) {
  .popup-content,
  .password-popup-content,
  .scale-popup-content {
    padding: 15px;
  }

  .popup-content h2,
  .password-popup-content h2,
  .scale-popup-content h2 {
    font-size: 1.5rem;
  }

  .japa-container {
    width: 100%; /* Utilize the full width on mobile */
    padding: 10px; /* Reduce padding for smaller screens */
  }

  .timer {
    font-size: 36px; /* Adjust font size for better fit */
    text-align: center;
  }

  .data-input-buttons button,
  .data-save-buttons button {
    padding: 8px 12px; /* Adjust padding for better spacing */
    font-size: 16px; /* Reduce font size */
  }

  .laps div {
    padding: 8px; /* Adjust padding for list items */
    margin-bottom: 8px; /* Adjust margin for list items */
  }
}

/** Report CSS **/

.reportDiv {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 13rem; /* Adjust for better balance */
  margin-bottom: 10px;
  padding-right: 10px; /* Add padding for scroll bar visibility */
}

.reportDiv div {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  margin-bottom: 5px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  font-size: 16px;
  font-family: monospace;
}

.reportDiv div:nth-child(even) {
  background-color: #e6e6e6;
}

.reportDiv div:hover {
  background-color: #dcdcdc;
}

/* Contact Information Styling */
.contact-info {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
  font-weight: bold;
  background: #fff3cd; /* Light yellow background */
  border-radius: 8px;
  border: 1px solid #ffc107; /* Yellow border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 20rem;
  padding: 0px 8px;
}

.download {
  background-color: #4caf50; /* Green background */
  color: white; /* White text */
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.download:hover {
  background-color: #45a049; /* Darker green on hover */
}

/* Add to your Stylesheet.css */
#loadingSpinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000; /* Ensure it's on top of other content */
}

.spinner {
  border: 8px solid #f3f3f3; /* Light grey background */
  border-top: 8px solid #3498db; /* Blue spinner */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.japa-time-message {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  color: #333;
  background-color: #4caf50; /* Soft green */
  border: 1px solid #2e512f;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for a subtle effect */
  max-width: 20rem;
}

.created-by {
  font-size: 16px;
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  color: #333;
  background-color: #4caf50; /* Dark teal background */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2e512f;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for a subtle effect */
  max-width: 20rem;
}

.created-by a {
  color: #ffeb3b; /* Yellow link color */
  text-decoration: underline;
}

.created-by a:hover {
  color: #ffc107; /* Slightly darker yellow on hover */
}

label {
  display: block;
  text-align: left;
  margin-top: 10px;
  font-weight: bold;
}

label.required::after {
  content: " *";
  color: red;
}

input {
  width: 94%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff5ea !important;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

button {
  width: 100%;
  padding: 10px 0;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cancel-button {
  background-color: #f44336;
  color: white;
}

.submit-button {
  background-color: #4caf50;
  color: white;
}

/* Webkit Scrollbar (Chrome, Safari, Edge) */
.collection-table-container::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
  height: 10px; /* Height for horizontal scrollbar */
}

.collection-table-container::-webkit-scrollbar-track {
  background: #f1f8e9; /* Background of the scrollbar track */
  border-radius: 10px;
}

.collection-table-container::-webkit-scrollbar-thumb {
  background-color: #66bb6a; /* Color of the scrollbar handle */
  border-radius: 10px;
  border: 2px solid #f1f8e9; /* Adds some space around the thumb */
}

.collection-table-container::-webkit-scrollbar-thumb:hover {
  background-color: #4caf50; /* Darker color on hover */
}

/* Firefox Scrollbar */
.collection-table-container {
  scrollbar-color: #66bb6a #f1f8e9; /* Thumb and track colors */
}

/* Optional: Style for horizontal scrollbar if needed */
.collection-table-container::-webkit-scrollbar-horizontal {
  height: 8px;
}

/* Customize track and thumb for horizontal scrollbar */
.collection-table-container::-webkit-scrollbar-track-horizontal {
  background: #f1f8e9;
}

.collection-table-container::-webkit-scrollbar-thumb-horizontal {
  background-color: #66bb6a;
  border-radius: 10px;
  border: 2px solid #f1f8e9;
}

.table-header {
  position: sticky;
  top: 0;
  z-index: 1; /* Ensure the header stays on top of the table rows */
}

/* Container for the select dropdown */
.selectContainer {
  position: relative;
  display: inline-block;
  width: 100%;
}

select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  padding: 10px 40px 10px 12px;
  font-size: 16px;

  border: 1px solid #ccc;
  border-radius: 8px;

  background: #f3ece4;
  color: #333;

  cursor: pointer;
  margin: 10px 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Style for the custom dropdown arrow */
select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 6px solid #333;
  pointer-events: none;
  max-height: 200px; /* Adjust the height of the dropdown */
  overflow-y: auto;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure dropdown does not overflow the container */
.selectContainer select {
  position: relative;
  z-index: 1;
}

select:focus {
  outline: none;
}

select option {
  background-color: white;
  color: #333;
  padding: 10px;
  border: 1px solid #ccc;
  max-width: 100%;
}

/* Style for the fieldset */
fieldset {
  border: 2px solid #d3d3d3; /* Custom border for better visibility */
  padding: 10px;
  margin-top: 20px; /* Space above the fieldset */
}

/* Style for the legend */
legend {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding: 0 10px; /* Add padding around the text */
  text-align: left;
}

/* Styles for each checkbox label */
.checkbox-label {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 16px;
  color: #333;
}

/* Style the custom checkbox */
.checkbox-label input[type="checkbox"] {
  margin-right: 10px; /* Space between checkbox and label text */
  accent-color: #333;
  width: 16px;
  height: 16px;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Use full viewport height */
  background-color: #f4f4f4;
  margin: 0;
}

.collection-table-container {
  overflow: auto;
  max-width: 100%;
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: #66bb6a;
  color: #fff;
}

th {
  padding: 6px;
  text-align: left;
  border: 1px solid #ddd;
  white-space: nowrap;
}
td {
  padding: 4px;
  border: 1px solid #ddd;
  white-space: nowrap;
}

/* Alternating row colors */
tbody tr:nth-child(odd) {
  background-color: #fff5ea;
}

tbody tr:nth-child(even) {
  background-color: #f8d4ad;
}

@media (max-width: 600px) {
  th,
  td {
    padding: 8px;
    font-size: 16px;
  }
}

.table-container {
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 20rem;
  display: none;
  flex-direction: column;
  justify-content: space-between; /* Ensure space between sections */
}

.popup .linkButton {
  background: none;
  border: none;
  color: #2196f3;
  text-decoration: underline;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 0px;
  display: flex;
}

.popup .linkButton-flexEnd {
  background: none;
  border: none;
  color: #2196f3;
  text-decoration: underline;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 0px;
  display: flex;
  justify-content: flex-end;
}

.popup .slateGray {
  color: #6c757d;
}

.liveSearchContainer {
  position: relative;
  display: inline-block;
  width: 100%;
}

.liveSearchContainer select {
  position: relative;
  z-index: 1;
}

.popup .liveSearch {
  margin-bottom: 1px !important;
}

.popup .liveSearchUL {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  width: 100%;
  background-color: white;
  border: 1px solid #ddd;
  max-height: 12rem;
  overflow-y: auto;
  z-index: 2;
  box-sizing: border-box;
}

.popup .liveSearchUL li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.popup .liveSearchUL li:hover {
  background-color: #f0f0f0;
}

.popup-content img {
  max-width: 50%; /* Ensure the image resizes within the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Optional: Add rounded corners to the image */
}

.infoPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.infoPopup-content {
  /* background: linear-gradient(135deg, #ffffff, #e6e6e6); */
  background-color: #f8d4ad;
  padding: 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 21rem;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Icons */
.infoPopup-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto; /* Center the icon horizontally */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Ensure the image doesn't repeat */
}
.infoPopup-content img {
  max-width: 100%; /* Ensure the image resizes within the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Optional: Add rounded corners to the image */
}

.infoPopup-icon.success {
  background-image: url("https://i.postimg.cc/jSZsPbth/checked-icon.png"); /* Add success icon path */
  background-size: cover;
}

.infoPopup-icon.error {
  background-image: url("https://i.postimg.cc/TP1Tc4Pv/cancel-icon.png"); /* Add error icon path */
  background-size: cover;
}

.infoPopup-icon.confirmation {
  background-image: url("https://i.ibb.co/BsvQsfb/Confirmation-icon.png"); /* Add confirmation icon path */
  background-size: cover;
}

.infoPopup-icon.info {
  background-image: url("https://i.postimg.cc/JnWxY3pS/Information-Icon.png"); /* Add info icon path */
  background-size: cover;
}

.infoPopup-heading.success {
  color: #45a049;
}

.infoPopup-heading.error {
  color: #ff3636;
}

.infoPopup-heading.info {
  color: #007bff;
}

.infoPopup-content .green {
  background-color: #45a049;
  color: white;
}

.infoPopup-content .red {
  background-color: #ff3636;
  color: white;
}

.infoPopup-content .blue {
  background-color: #007bff; /* Blue */
  color: white;
}

/* Message */
.infoPopup-message {
  font-size: 20px;
  color: #555;
  font-weight: bold;
  margin-bottom: 20px;
  white-space: pre-line;
}

.highlight {
  color: #2196f3; /* Default text color */
  animation: blink-animation 2s infinite; /* Trigger the blinking animation */
}

@keyframes blink-animation {
  0% {
    background-color: #45a049;
  }
  50% {
    background-color: transparent;
  }
  100% {
    background-color: #45a049;
  }
}

.download-icon-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 5px;
  margin-top: 10px;
  margin-right: 5px;
}

.download-icon {
  width: 25px; /* Set width of the icon */
  height: auto; /* Maintain aspect ratio */
  cursor: pointer; /* Change cursor on hover */
}

/* Navbar styling */

.navbar {
  background-color: #333;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
  border-radius: 8px;
}

.navbar a {
  flex: 1;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 16px;
}

.navbar a:hover {
  background-color: #575757;
}

.navbar a.active {
  background-color: #04aa6d; /* Green */
}

/* Sections inside popup */
.section {
  display: none;
  margin-top: 10px;
  padding: 10px;
}
.navbar-container {
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
}

/* Arrow icons */
.arrow {
  width: 30px;
  height: 30px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: 375px) {
  .navbar a {
    font-size: 16px;
    padding: 12px 8px;
  }

  .navbar {
    flex-direction: column;
  }
}

/* Navbar styling End */

@media only screen and (max-width: 375px) and (max-height: 812px) {
  .radio-container-scroll {
    padding-right: 10px;
    padding-left: 10px;
    flex-grow: 1;
    overflow-y: auto; /* Keep vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    max-height: 24rem;
    margin-bottom: 10px;
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in width calculation */
  }
}

.control-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.custom-control-row {
  display: flex;
  align-items: center;
}

.left-side-control {
  flex: 1 1 85%;
  padding-right: 10px;
}

.right-side-control {
  flex: 0 0 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-side-control45 {
  flex: 1 1 45%; /* Set width to 50% */
  padding-right: 10px;
  text-align: left;
  font-size: larger;
}

.right-side-control55 {
  flex: 1 1 70%; /* Set width to 50% */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sale-selected-items {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.sale-selected-items h3 {
  margin: 0;
  margin-bottom: 10px;
  text-align: center;
}

.sale-selected-items ul {
  list-style: none;
  padding: 0;
}

.sale-selected-items ul li {
  padding: 5px;
  background-color: #f1f1f1;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sale-selected-items span,
.item-quantity-control span {
  margin-top: 10px;
}

.item-quantity-control button {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  width: 30px;
  height: 30px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%; /* Use 50% for a perfect circle */
  cursor: pointer;
  font-size: 16px; /* Optional: Adjust font size as needed */
}

.item-quantity-control button:hover {
  background-color: #0056b3;
}

.item-quantity-control span {
  font-weight: bold; /* Make quantity bold */
}

.item-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 5px 0;
}

.item-name {
  flex: 0 0 55%;
  text-align: left;
}

.item-quantity-control {
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.item-total {
  flex: 0 0 15%;
  text-align: right;
  font-weight: bold;
}

.total-cost {
  text-align: end;
  font-weight: bold;
}

.total-row-container .left {
  flex: 1 1 65%;
  padding-right: 10px;
}

.total-row-container .right {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

/*radio box style start */

.popup-content .radio-container {
  background-color: #fff5ea;
  /* background: linear-gradient(135deg, #ffffff, #e6e6e6); */
  padding: 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 100%;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin: 1% 0;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.popup-content .radio-container:hover {
  background-color: #fff5ea;
  /* background: linear-gradient(135deg, #f0f0f0, #d0d0d0); */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.radio-container-scroll {
  padding-right: 10px;
  padding-left: 10px;
  flex-grow: 1;
  overflow-y: auto; /* Keep vertical scrolling */
  overflow-x: hidden; /* Prevent horizontal scrolling */
  max-height: 42rem;
  margin-bottom: 10px;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width calculation */
}

.question {
  margin: 15px 0;
}

.question label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.options {
  display: flex;
  gap: 2px;
}

/* Label styling */
.custom-label {
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  margin-top: 3px !important;
}

.radio-heading {
  margin-bottom: 10px;
}

.radio-content {
  margin-bottom: 10px;
  display: flex;
  gap: 25px;
  margin-left: 5px;
}

.radio-heading label.required::after {
  content: " *";
  color: red;
}

/* Styling the radio button */
input[type="radio"] {
  width: 20px; /* Adjust width */
  height: 20px; /* Adjust height */
  transform: scale(1.4); /* Scale the radio button */
  margin-right: 10px; /* Add space between button and label */
  cursor: pointer;
}

@media (min-width: 786px) {
  .popup-content {
    min-width: 600px !important;
  }
  .radio-container {
    max-width: 100% !important;
  }
  .instructions {
    max-width: 100% !important;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  input[type="radio"] {
    transform: scale(1.2); /* Adjust size for mobile */
  }

  .custom-label {
    font-size: 16px; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 480px) {
  input[type="radio"] {
    transform: scale(1); /* Keep it smaller for very small screens */
  }

  .custom-label {
    font-size: 14px; /* Smaller font size for very small screens */
  }
}

/*radio box style end*/

/*specific css Start*/
#hmTableDiv td {
  text-align: left;
}

.card-view {
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  padding: 10px;
  border-radius: 16px;
  width: 96%;
  max-width: 21rem;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.card-view-item {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.card-view-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.card-view-item p {
  font-size: 1.2rem;
  margin: 5px 0;
  word-wrap: break-word;
  line-height: 1.5;
}

.card-view-item span {
  font-weight: bold; /* Bold headings */
}

.card-view-item div {
  margin-bottom: 10px; /* Adds space between sections */
  white-space: pre-line;
}

.table-container-static {
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 20rem;
  flex-direction: column;
  justify-content: space-between; /* Ensure space between sections */
}

.heading {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.controlRow {
  display: flex;
  align-items: center;
}

.width30 {
  width: 30% !important ;
}

.width40 {
  width: 40% !important ;
}
.width50 {
  width: 50% !important ;
}
.width60 {
  width: 60% !important ;
}
.width70 {
  width: 70% !important ;
}

.width80 {
  width: 80% !important ;
}

.chapter-box {
  background: #fff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  overflow-x: auto;
}
.chapter-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
.c-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0;
}

.c-item-label {
  width: 50% !important;
  font:
    normal normal bold 12px / 14px Helvetica,
    sans-serif !important;
}
.c-item-input {
  width: 50% !important;
  font:
    normal normal bold 12px / 14px Helvetica,
    sans-serif !important;
}

/*Accordian Item*/
.accordion {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}
.accordion-item {
  border-bottom: 1px solid #ccc;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 10px !important;
  font-size: 18px;
  font-weight: bold;
  background-color: #52609a;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
.accordion-header.disabled-header {
  background-color: gray !important; /* Or any color you want to indicate disabled */
  cursor: not-allowed;
}

.accordion-header:hover {
  background-color: #52609a;
}
.accordion-header.active {
  background-color: #ff9800;
}
.accordion-content {
  text-align: left;
  display: none;
  padding: 10px;
  border-left: 4px solid #52609a;
}
.accordion-content a {
  display: block;
  color: #065535;
  text-decoration: none;
  padding: 5px 0;
}
.accordion-content a:hover {
  text-decoration: underline;
  background-color: #d3d3d3;
  padding: 10px 15px;
  border-radius: 5px;
}

.accordion-content.show {
  display: block;
}

.icon {
  transition: transform 0.3s ease;
}
.active .icon {
  transform: rotate(90deg);
}

.accordion .iframe-container {
  width: 100%;
  height: 400px;
  margin-top: 10px;
  border: 1px solid #ccc;
}

.accordion iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-popup-content {
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  padding: 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 21rem;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.response-options {
  display: flex;
  gap: 10px;
  min-width: 100px;
  justify-content: flex-end;
}

.response-options label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.response-options input {
  margin-right: 4px;
}

.disabled-row {
  background-color: #c97373; /* Light gray */
  opacity: 0.7; /* Slight fade */
}

/*Accordian End*/

/*CheckBox container start*/
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item input[type="checkbox"] {
  transform: scale(1.2);
  margin: 0; /* Remove top margin to align properly */
  width: 12px;
}

.checklist-item label {
  margin-top: 0px !important;
}

.checklist-item .tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 6px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.checklist-item .tooltip.visible {
  display: block;
}

.checklist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ccc;
  padding: 2px 5px;
  margin-bottom: 3px;
  border-radius: 6px;
  position: relative;
}

.checklist-label {
  flex: 1;
  font-size: 16px;
  padding-right: 10px;
}

/*Checkbox Container end*/

/*left side nav bar start*/

.leftSideNav {
  position: fixed;
  z-index: 2000;
  display: none;
}

.leftSideNav a {
  background-color: #575757;
  padding: 15px;
  text-decoration: none;
  font-size: 18px;
  color: white;
  display: flex;
  transition: 0.3s;
  text-align: left;
  cursor: pointer;
  align-items: center;
  gap: 5px;
}

.leftSideNav a:hover {
  background-color: #111;
}

.leftSideNav-closebtn {
  position: absolute !important;
  top: 0px !important;
  right: 5px !important;
  font-size: 25px !important;
  cursor: pointer !important;
  text-align: right !important;
  padding-right: 15px !important;
}

/* Child menu styling */
.leftSideNav-SubMenu {
  display: none;
  padding-left: 20px;
  background-color: #575757;
}

.leftSideNav-SubMenu a {
  font-size: 16px;
}

/* leftSideNav-contentContainer content */
.leftSideNav-contentContainer {
  transition: margin-left 0.3s;
  text-align: center;
  position: relative;
  z-index: 1000;
}

/* Open menu button */
.leftSideNav-menuBtn {
  text-align: left !important;
  font-size: 24px !important;
  cursor: pointer !important;
  padding: 10px 15px !important;
  background-color: #333 !important;
  color: white !important;
  border: none !important;
  border-radius: 5px !important;
  margin-top: -15px !important;
  margin-left: -10px !important;
  height: 50px !important;
}

/* Form styling */
.leftSideNav-itemContainer {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
}

/*left side nav bar end*/

.contact-list {
  padding: 10px !important;
  font-family: Arial, sans-serif !important;
}

.contact-list ul {
  list-style: none !important;
  padding: 0 !important;
}

.contact-list li {
  margin: 8px 0 !important;
  font-size: 16px !important;
}

.contact-list a {
  color: #007bff !important;
  text-decoration: none !important;
  font-weight: bold !important;
}

.contact-list a:hover {
  text-decoration: underline !important;
}

.noResponseBox {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #cec9c9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.error-section {
  border: 2px solid red !important;
  border-radius: 8px;
  animation: shake 0.2s ease-in-out 2;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-3px);
  }
  100% {
    transform: translateX(0);
  }
}

.accordion-subtime {
  font-size: 12px;
  margin-top: 3px;
  opacity: 0.9;
}

.user-info-block {
  text-align: center;
  margin-bottom: 0px;
  font-size: 18px;
  color: #e6e6e6;
  font-weight: bold;
  background: #52609a; /* Light yellow background */
  border-radius: 8px;
  border: 1px solid #ffc107; /* Yellow border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  padding: 0px 8px !important;
}

.extra-entry-box {
  margin-top: 12px;
  text-align: left;
}

.reason-box {
  margin-top: 14px;
}

.reason-label {
  display: block;
  font-weight: 700;
  color: #6b3d12;
  margin-bottom: 6px;
}

.reason-box textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d2a46f;
  outline: none;
}

.reason-box-dual-duration-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.reason-box-dual-duration-row .half {
  flex: 1;
  min-width: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reason-box-dual-duration-row {
    gap: 8px;
  }

  .reason-box-dual-duration-row .half {
    font-size: 14px;
  }
}

.add-more-right {
  display: block !important;
  margin-left: auto;
  margin-bottom: 10px;
  padding: 8px 16px;
  width: 40% !important;
}

.multi-student-entry-box {
  margin-top: 6px;
}

.add-more-input-row {
  margin-bottom: 8px;
}

.manual-student-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d2a46f;
  border-radius: 8px;
  outline: none;
}

.disabled {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(100%);
}
.declaration-box {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: start;
  gap: 10px;

  width: 100%;
  margin-top: 12px;
  padding: 12px;

  border: 1px solid #d9b37a;
  border-radius: 10px;
  background: #fff8ef;
  cursor: pointer;
  box-sizing: border-box;
}

/* Checkbox fixed left */
.declaration-check-area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.declaration-check-area input[type="checkbox"] {
  transform: scale(1.35);
  cursor: pointer;
  margin: 0;
}

/* Text full proper width */
.declaration-text-area {
  width: 100%;
  min-width: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  text-align: left;
  word-break: break-word;
}

/* Container for all questions */
.question-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.radio-content-without-flex {
  margin-bottom: 10px;
  margin-left: 5px;
  margin-right: 5px;
}

.radio-content-box-head-GP {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: #52609a;
  color: #fff5ea;
  border: 1px solid #52609a;
  font-size: 14px;
}

.radio-content-inbox {
  margin-bottom: 0px;
  display: inline-flex;
  gap: 2px;
  margin-left: 2px;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.radio-content-inbox input[type="radio"] {
  margin: 0;
  padding: 0;
}

.radio-content-box-GP {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff5ea;
  border: 1px solid #52609a;
  font-size: 13px;
}

.radio-content-box-GP label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* card */
.group-card {
  background: #f3e2c8;
  border: 1px solid #d8bc98;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* section heading */
.group-main-heading {
  margin-top: 16px;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: linear-gradient(to right, #fff8ef, #f6ead8);
  border: 1px solid #e6caa2;
  border-left: 5px solid #7b00c9;
  border-radius: 10px;
  color: #5a2c00;
  font-size: 15px;
  font-weight: 700;
}

/* header */
.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #5a3100;
  background: linear-gradient(135deg, #f8e0b9, #efcca0);
}

.group-header:hover {
  background: #e7c69a;
}

/* icon */
.group-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.group-card.active .group-icon {
  transform: rotate(180deg);
}

/* body closed */
.group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fffdf8;
}

/* body open */
.group-card.active .group-body {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* scrollbar desktop */
.group-card.active .group-body::-webkit-scrollbar {
  width: 6px;
}

.group-card.active .group-body::-webkit-scrollbar-thumb {
  background: #d6b48a;
  border-radius: 10px;
}

.group-card.active .group-body::-webkit-scrollbar-track {
  background: #f8eee0;
}

/* list */
.group-list {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
}

/* item row */
.group-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border-bottom: 1px solid #ead8bf;
}

.group-list li:last-child {
  border-bottom: none;
}

/* student name */
.group-item-name,
.group-list li span:first-child {
  min-width: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* count */
.group-count {
  font-size: 12px;
  font-weight: 700;
}

/* badge */
.group-item-status-badge {
  flex-shrink: 0;
  display: inline-block;
  min-width: 105px;
  text-align: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

/* Requested */
.group-item-status-badge.status-requested {
  background: linear-gradient(135deg, #fff7d6, #ffe89a);
  color: #7a5400;
  border: 1px solid #f0cf63;
}

/* Checked In */
.group-item-status-badge.status-checkedin {
  background: linear-gradient(135deg, #daf8df, #b9efc3);
  color: #0f6b2f;
  border: 1px solid #8fd19e;
}

/* Checked Out */
.group-item-status-badge.status-checkedout {
  background: linear-gradient(135deg, #ffe0e3, #f8bcc3);
  color: #9f1c24;
  border: 1px solid #e7a1a8;
}

/* ==========================================
   MOBILE VIEW
========================================== */
@media (max-width: 768px) {
  .group-main-heading {
    font-size: 14px;
    padding: 10px 12px;
  }

  .group-header {
    font-size: 13px;
    padding: 11px 12px;
  }

  .group-count {
    font-size: 11px;
  }

  .group-card.active .group-body {
    max-height: 260px; /* mobile scroll */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .group-card.active .group-body::-webkit-scrollbar {
    width: 4px;
  }

  .group-list {
    padding: 6px 8px;
  }

  .group-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 10px 4px;
  }

  .group-item-name,
  .group-list li span:first-child {
    font-size: 13px;
    line-height: 1.4;
  }

  .group-item-status-badge {
    min-width: auto;
    padding: 5px 12px;
    font-size: 10px;
    align-self: flex-start;
  }
}

.instructions {
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  border-radius: 8px;
  max-width: 21rem;
  margin: 10px auto 0;
  padding: 10px 15px;
  border: 1.5px solid #ca2525;
  background-color: #e6e6e6;
}

.instructions h3 {
  margin: 0 0 10px;
  text-align: center;
}

.instructions ul {
  margin: 0;
  padding-left: 12px;
  text-align: left;
  font-size: medium;
}

.radio-heading-student {
  margin-bottom: 10px;
  margin-left: 10px;
}

.radio-container-student {
  background-color: #fff5ea;
  /* background: linear-gradient(135deg, #ffffff, #e6e6e6); */
  padding: 0px;
  border-radius: 16px;
  width: 96%;
  /* max-width: 21rem; */
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin: 1% 0;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.custom-checkbox {
  width: 22px !important;
  height: 16px;
  margin-right: 10px !important;
  margin-top: 13px !important;
}

.custom-label-student {
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  margin-top: 12px !important;
  font-weight: lighter;
}

.task-buttons {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.task-btn {
  border: 1px solid #d6b98f;
  background: linear-gradient(145deg, #fff4e6, #f3dcc0);
  color: #6b4b2a;

  padding: 12px 18px;

  border-radius: 14px;

  cursor: pointer;

  transition: all 0.25s ease;

  font-size: 13px;
  font-weight: 600;

  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Hover */
.task-btn:hover {
  transform: translateY(-2px);

  background: linear-gradient(145deg, #ffe8cc, #efd2ad);

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Active Click */
.task-btn:active {
  transform: scale(0.97);
}

/* Selected Button */
.task-btn.selected {
  background: linear-gradient(145deg, #c98b47, #b57435);
  color: white;
  border-color: #a9672c;

  box-shadow: 0 4px 12px rgba(181, 116, 53, 0.35);
}

.grayOut {
  background-color: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  cursor: not-allowed;
  opacity: 0.8;
}
