main {
  margin-bottom: 100px;
}

/* Throbber styles */
#throbber {
  border: 5px solid #f3f3f3; /* Light grey border */
  border-top: 5px solid rgb(221 30 51); /* red border */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  
  /* Centering the throbber */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* Hide by default */
  z-index: 1001; /* Ensure it's on top of the overlay */
}

/* Throbber animation */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#r-submit-btn:disabled {
  background-color: rgb(92 92 92 / 0.5);
  border-color: transparent;

}

.input-error {
  border: 1px solid rgb(221 30 51);
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 15px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 10px;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider:before {
      background-color: rgb(221 30 51);
    border: none;
    bottom: -2px;
    height: 20px;
    width: 20px;
    left: -12px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: -12px;
    bottom: -2px;
    background-color: white;
    border: 1px solid rgb(218, 218, 218);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: rgb(236, 100, 116);
    left: 3px;
  }

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 28px;
}

.slider.round:before {
  border-radius: 50%;
}