.mt-10 {
      margin-top: 10px;
    }
    
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1055;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0);
      transition: opacity 0.15s linear;
      opacity: 0;
  }

  .modal.show {
      opacity: 1;
  }

  .modal-dialog {
      position: relative;
      width: auto;
      margin: 1.75rem auto;
      max-width: 500px;
      transform: translate(0, -50px);
      transition: transform 0.3s ease-out;
  }

  .modal.show .modal-dialog {
      transform: none;
  }

  .modal-content {
      background-color: #fff;
      position: relative;
      display: flex;
      flex-direction: column;
      width: 100%;
      border-radius: 0.3rem;
      box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  }

  .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1050;
      width: 100vw;
      height: 100vh;
      background-color: #000;
      opacity: 0;
      transition: opacity 0.15s linear;
  }

  .modal-backdrop.show {
      opacity: 0.5;
  }

  .modal-open {
      overflow: hidden;
  }

  body.modal-open {
      padding-right: 17px; /* Prevents content shift when scrollbar disappears */
  }

  .cor-modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.cor-modal .modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

.cor-modal .modal-content {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.cor-modal .modal-header {
    border-bottom: 2px solid #f5f5f5;
    padding: 1.5rem;
}

.cor-modal .modal-title {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.cor-modal .modal-body {
    padding: 1.5rem;
}

.cor-modal label {
    color: #555;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.cor-modal .form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: none;
    font-size: 15px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.cor-modal .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.cor-modal select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 2l4 4 4-4z' fill='%23333'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 8px;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cor-modal .glyphicon-asterisk {
    color: #dc3545;
    font-size: 10px;
    top: -2px;
    margin-left: 4px;
}


  .ty-modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.ty-modal .modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

.ty-modal .modal-content {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.ty-modal .modal-header {
    border-bottom: 2px solid #f5f5f5;
    padding: 1.5rem;
}

.ty-modal .modal-title {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.ty-modal .modal-body {
    padding: 1.5rem;
}

.ty-modal label {
    color: #555;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.ty-modal .form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: none;
    font-size: 15px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.ty-modal .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.ty-modal select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 2l4 4 4-4z' fill='%23333'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 8px;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ty-modal .glyphicon-asterisk {
    color: #dc3545;
    font-size: 10px;
    top: -2px;
    margin-left: 4px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .cor-modal .modal-dialog {
        margin: 1rem;
    }
    
    .cor-modal .modal-content {
        border-radius: 4px;
    }
    
    .cor-modal .modal-body {
        padding: 1rem;
    }
    
    .cor-modal .form-control {
        height: 40px;
        font-size: 14px;
    }
    
    .ty-modal .modal-dialog {
        margin: 1rem;
    }
    
    .ty-modal .modal-content {
        border-radius: 4px;
    }
    
    .ty-modal .modal-body {
        padding: 1rem;
    }
    
    .ty-modal .form-control {
        height: 40px;
        font-size: 14px;
    }
}

/* Animation */
.cor-modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.cor-modal.show .modal-dialog {
    transform: none;
}

.ty-modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.ty-modal.show .modal-dialog {
    transform: none;
}

.modal-subtitle {
    color: #6c757d;
    font-size: 2rem;
    font-weight: normal;
    margin: 8px 0 0 0;
}

.modal-header {
    flex-direction: column;
    align-items: flex-start;
}

.modal-header .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    border-top: 1px solid #dee2e6;
    margin-top: 1rem;
    padding: 10px;
}

.modal-footer .btn {
    min-width: 120px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.gender-box {
  display: inline-block;
  width: 110px;
  margin: 0 5px;
}

@media only screen and (min-width: 768px) {
    .gender-box {
        margin: 0 15px;
    }
}

.custom-radio-button {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
}

.custom-radio-button {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
}

.gender-box .custom-radio-button-highlight {
    border: 2px solid #158a73;
    background-color: #d7f1ec;
    padding: 9px;
}

.gender-box .custom-radio input:checked + label::after {
    content: url(/fonts/check-solid.svg);
    fill: #fff;
    filter: invert(100%);
    font-size: 10px;
    color: #fff;
    top: 0px;
    left: 0px;
    display: block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 600;
    position: absolute;
    background-color: rgb(203, 115, 139);
    padding: 3.5px;
    width: 22px;
    height: 22px;
    border-bottom-left-radius: 3px;
    border-radius: 50%;
    line-height: 19px;
}

.custom-radio input:checked + label::after, .custom-checkbox input:checked + label::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 7px;
    height: 7px;
    left: 5px;
    top: 7px;
    margin-left: -20px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background-color: #ffffff;
}

.custom-radio-button {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    background-color: #ffffff;
}
.custom-radio, .custom-checkbox {
    position: relative;
    display: block;
}

.custom-radio-button input {
    width: 100%;
    height: 100%;
    margin: 0;
    left: 0;
    top: 0;
}
.custom-radio input, .custom-checkbox input {
    opacity: 0;
    position: absolute;
    z-index: 1;
    cursor: pointer;
    margin-left: 0px !important;
}

.radio.custom-radio label {
    padding-left: 0px !important;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
}
.custom-radio label, .custom-checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

label {
    font-weight: normal;
    color: #3b3f44;
}

.custom-radio label::before, .custom-checkbox label::before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    background-color: #fff;
}

.radio.custom-radio label img {
    height: 90px;
    width: 60px;
}

.campaign-registered {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.65;
}

.error-message {
    background-color: #fff3f3;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.modal-body input[type="email"] {
    width: 100%;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color .15s ease-in-out;
}

.modal-body input[type="email"]:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.modal-body input[type="email"]:invalid {
    border-color: #dc3545;
}

.modal-address-button {
  height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}