html,
body {
  height: 100%;
  margin: 0;
}

.input[type="radio"]:checked + span {
  background-color: green; /* Change to your desired green color */
  border-color: green;
}


/* Define the custom styles for the date input */
.custom-date-input::-webkit-calendar-picker-indicator {
  background: none;
  padding: 0;
  border: none;
  position: relative;
}

.custom-date-input::-webkit-calendar-picker-indicator:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("{{ asset('img/calendar.svg') }}");
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Remove the default arrow */
input[type="date"]::-webkit-calendar-picker-indicator {
  /* display: none; */
}

/* Change the appearance of the date input field */
input[type="date"] {
  appearance: none;
  -moz-appearance: textfield; /* Firefox */
  padding: 0.375rem 1rem;
  /* border: 1px solid #38a169; */
  border-radius: 0.375rem;
  /* background-color: #edf2f7; */
   font-size: 1rem;
  width: 100%;
  padding-top: 12px;
}

/* Change the appearance of the date input when focused */
input[type="date"]:focus {
  outline: none;
   box-shadow: #0DA75E;
}

/* Change the appearance of the date input when a date is selected */
input[type="date"]::-webkit-datetime-edit {
  }

/* Change the appearance of the date input's calendar dropdown icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(37%) sepia(12%) saturate(2888%) hue-rotate(107deg) brightness(92%) contrast(89%);
  cursor: pointer;
}




.switch-input {
  display: none;
  /* Hide the default checkbox */
}

.switch-label {
  display: inline-block;
  width: 39px;
  height: 20px;
  background-color: #79747E;
  /* Default color */
  border-radius: 26.25px;
  position: relative;
  cursor: pointer;
}

.switch-input:checked+.switch-label {
  background-color: #0DA75E;
  /* Changed color for checked state */
}

.switch-label:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.switch-input:checked+.switch-label:before {
  transform: translateX(20px);
}

.custom-radio input[type="radio"] {
  display: none;
}

.custom-radio label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-radio .radio-button {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #34D399;
  border-radius: 50%;
  margin-right: 8px;
}

.custom-radio .radio-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 10px;
  height: 10px;
  background-color: #34D399;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.custom-radio input[type="radio"]:checked+label .radio-button::after {
  opacity: 1;
}

input {
  border: none;
  outline: none;
}

.ring-red-500 {
  color: #FF0000;
}

/* a {
  border: none;
  outline: none;
} */

textarea {
  border: none;
  outline: none;
}

.radio {
  font-size: 24px;
  font-weight: 500;
  text-transform: capitalize;
  display: inline;
  vertical-align: middle;
  color: #000;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.radio+.radio {
  margin-left: 20px;
}

.radio input[type="radio"] {
  display: none;
}

.radio span {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 3px solid #E0E0E0;
  display: block;
  position: absolute;
  left: 7px;
}

.radio span:after {
  content: "";
  height: 8px;
  width: 8px;
  background-color: #0DA75E;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: 300ms ease-in-out 0s;
}

.radio input[type="radio"]:checked+span:after {
  transform: translate(-50%, -50%) scale(1);

}


.text-red-500 {
  color: #FF0000 !important;
}

.text-green-500 {
  color: #0DA75E !important;

}

.bg-green-500 {
  background-color: #0DA75E !important;
}

.bg-gray-500 {
  background-color: #F2F2F2 !important;
}

.border-green-500 {
  color: #0DA75E !important;
  /* border: none;   */
  outline: none;
}

button {
  border: none;
  outline: none;
}

a {
  border: none;
  outline: none;
}

.input-field {
  caret-color: transparent;
}


.checkbox-custom {
  appearance: none;
  background-color: #fff;
  border: 1px solid #0DA75E;
  outline: 1px;
  height: 16px;
  width: 16px;
  position: relative;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.checkbox-custom:checked {
  background-color: #fff;
}

.checkbox-custom:checked::before {
  content: "";
  position: absolute;
  top: 0.09rem;
  left: 0.30rem;
  width: 0.30rem;
  height: 0.60rem;
  border: solid #0DA75E;
  border-width: 0 0.1rem 0.1rem 0;
  transform: rotate(45deg);
}

.checkbox-custom.indeterminate:checked::before {
  border: none;
  background-color: #ffffff;
  width: 0.75rem;
  height: 0.2rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio {
  font-size: 24px;
  font-weight: 500;
  text-transform: capitalize;
  display: inline;
  vertical-align: middle;
  color: #000;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.radio+.radio {
  margin-left: 20px;
}

.radio input[type="radio"] {
  display: none;
}

.radio span {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 3px solid #E0E0E0;
  display: block;
  position: absolute;
  left: 7px;
}

.radio span:after {
  content: "";
  height: 8px;
  width: 8px;
  background-color: #0DA75E;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: 300ms ease-in-out 0s;
}

.radio input[type="radio"]:checked+span:after {
  transform: translate(-50%, -50%) scale(1);

}

.text-green-500 {
  color: #0DA75E;
}

.text-green-500 {
  color: #0DA75E;
}

.bg-gray-300 {
  background-color: #FAFAFA;
}

.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.h-screen {
  height: 100vh;
}

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

.input-field {
  text-align: center;
  border: 1px solid gray;
  border-radius: 4px;
  width: 50px;
  height: 50px;
  margin: 5px;
}

.hyphen {
  width: 20px;
  /* Adjust the width as needed */
  height: 1px;
  background-color: gray;
  margin: 0 5px;
}

body {
  min-height: 100%;
  font-family: "Rubik", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex;
  padding: 0px;
  background: #ffffff;
}


footer {
  margin-top: auto;
}

.logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

p {
  color: #808080;
}

.custom-select option {
  color: #474646;
}

.custom-select option:checked {
  color: #808080;
}

#imageContainer {
  width: 100%;
  height: 186px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

#imageList {
  display: flex;
  scroll-snap-type: x mandatory;
}

#imageList>div {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
}

.bg-custom-color {
  background-color: #F18739;
}

.nuban {
  background-color: #7D0890;
  opacity: 10%;
}

.nuban-text {
  color: #7D0890;
}

.swiper-pagination-bullet-active {
  background-color: #EF4444;
}

/* loading dailog */
.loading-spinner{
    width:30px;
    height:30px;
    border:2px solid #38a169;
    border-radius:50%;
    border-top-color:#0001;
    display:inline-block;
    animation:loadingspinner .7s linear infinite;
  }
  @keyframes loadingspinner{
    0%{
      transform:rotate(0deg)
    }
    100%{
      transform:rotate(360deg)
    }
  }
  .loading_modal{
    box-sizing: border-box;
    padding: 2%;
    width: 25vw;
    height:18%;
    background-color:white;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 1.5%;
    box-sizing: border-box;
    z-index: 1000;
}
  .success_modal{
    box-sizing: border-box;
    padding: 2%;
    width: 25vw;
    height:22%;
    background-color:white;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 1.5%;
    box-sizing: border-box;
    z-index: 1000;
}
@media (max-width: 640px) {
    /* CSS rules for screens smaller than 640px */
    .loading_modal{
        box-sizing: border-box;
        padding: 4%;
        width: 40vw;
        height:19%;
        background-color:white;
        font-size: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 1.5%;
        box-sizing: border-box;
        z-index: 1000;
  }
    /* CSS rules for screens smaller than 640px */
    .success_modal{
        box-sizing: border-box;
        padding: 4%;
        width: 40vw;
        height:23%;
        background-color:white;
        font-size: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 1.5%;
        box-sizing: border-box;
        z-index: 1000;
  }

  .checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid #34D399;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.checkbox-box svg {
    width: 12px;
    height: 12px;
    fill: #34D399;
}

.label-text {
    font-size: 14px;
}

}

body {
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin-bottom: 20px;
}

.button-container {
    margin-top: 20px;
}

.button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.video-container {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

#videoLive {
    width: 100%;
}

.status {
    margin-top: 20px;
}

#statusText {
    color: red;
}


.dialog {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}




/* CSS for the spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

    100% {
        transform: rotate(360deg);
    }
}
