#IO-Forms input {
    padding: 0.45rem 0.25rem 0.45rem 0.25rem;
    border-style: solid;
}

#IO-Forms label, #IO-Forms input:not([type="checkbox"]), #IO-Forms select, #IO-Forms textarea  {
  width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    border-color: #000;
}

#IO-Forms input[type="checkbox"] {
  /* Remove native browser styling */
  appearance: none;
  -webkit-appearance: none; /* Safari support */

  /* Set explicit dimensions */
  width: 2.25rem;
  height: 2.25rem;
  
  /* Apply the 2px thick border */
  border: 2px solid #3e3e3e; 
  border-radius: 4px;
  
  /* Alignment and setup for the checkmark */
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  background-color: #ffffff;
}

/* Create the checkmark for the checked state */
#IO-Forms input[type="checkbox"]::before {
  content: "";
  width: 1rem;
  height: 1rem;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: #000; /* Checkmark color */
  
  /* Clip-path creates a perfect checkmark shape */
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

/* Display the checkmark when clicked */
#IO-Forms input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* Ensure focus states remain visible for accessibility */
#IO-Forms input[type="checkbox"]:focus {
  outline: 2px solid #007bff;
  outline-offset: 0px;
}

#IO-Forms .checkbox-item label {
   width: auto;
}

#IO-Forms .checkbox-item-input{
    cursor: pointer;
    margin: 0;
    width: 2.25rem;
    height: 2.25rem; 
}

#IO-Forms input[type=checkbox]+label, #IO-Forms input[type=radio]+label {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 0;
    margin-right: 0;
}

#IO-Forms .checkbox-item-label {
    display: inline-block;
    cursor: pointer;
    line-height: 1.5;
    margin: .25rem 0;
    padding: 0 1rem;
    width: auto;
    white-space: normal;
}

.checkbox-item {
    margin: 0.75rem 0;
}

#IO-Forms textarea {
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    border-color: #000;
}

#IO-Forms legend {
    font-size: 1.25rem;
    font-weight: normal;
    width: 100%;
    display: inline-block;
    margin-bottom: .5rem;
}
#IO-Forms select{
    padding: .5rem 1rem .5rem .25rem;
    border-width: 2px;
    border-radius: 4px;
    box-sizing: border-box;
    border-color: #000;
}
#IO-Forms textarea {
  /* Normalize fonts and text */
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  
  /* Normalize box models and sizes */
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  
  /* Normalize borders and backgrounds */
  border: 2px solid #000000;
  border-radius: 4px;
  background-color: #fff;
  
  /* Remove default iOS/Safari styling */
  -webkit-appearance: none;
  appearance: none;
}

#IO-Forms textarea {
  /* Fix layout alignment and scrolling */
  display: block;
  overflow: auto;
  
  /* Restrict resize behavior */
  resize: vertical; 
  min-height: 40px;
}

textarea:focus {
  outline: 2px solid #007bff;
  outline-offset: 0px;
}

.words {
    font-size: 0.70em;
    text-align: right;
    padding: 0.25rem 5px !important;
    font-weight: 400;
}
.notice-of-collection{
    font-size: 1rem;
}
.notice-of-collection h2{
    font-size: 1.5rem !important;
}

.required-field:after {
    content: "*";
    color: #ea6262;
    font-size: 110%;
}

.email_required {
    color: #a3131d;
}
#IO-Forms .required-field:after {
    content: "*";
    color: #ea6262;
    font-size: 110%;
    position: relative;
    top: 1px;
    right: 0;
}
#IO-Forms #privacy_title {
    padding-left: 3.5rem;
    position: relative;
    top: -40px;
}

html[dir="rtl"] #IO-Forms #privacy_title {
    padding-right: 3.5rem;
}

#IO-Forms label#support_type_title {
    top: -24px !important;
}
#IO-Forms .form-group select#contact_reason\[\] {
    padding-top: 0px !important;
}
.submit-btn {
    color: #ffffff !important;
}
.submit-btn:disabled{
    opacity: 0.65;
    cursor: not-allowed;
}
.submit-btn{
    font-size: 1.5rem
}

._error-inner {
    color: #a3131d;
    font-size: 1rem;
    font-weight: 400;
}
.rac-button-darkblue {
  background-color: #002855 !important;
}
.rac-button-darkblue-border {
  border-color: #002855 !important;
}

.loading-wrapper{
  display:none;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}