/* body {
  background: linear-gradient(135deg, #0A1F44 0%, #1e3c72 100%);
  color: #fff;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} */

.hero-section {
  padding: 60px 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #D4AF37, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #B8C5D6;
  margin-bottom: 3rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(to right, #D4AF37, #FFD700);
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  color: #0A1F44;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  background: linear-gradient(to right, #FFD700, #D4AF37);
  color: #0A1F44;
}

.btn-outline-warning {
  border: 2px solid #D4AF37;
  color: #D4AF37;
  background: transparent;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  padding: 10px 20px;
}

.btn-outline-warning:hover {
  background: linear-gradient(to right, #D4AF37, #FFD700);
  border-color: #D4AF37;
  color: #0A1F44;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  border-color: #D4AF37;
}

.form-card h5 {
  color: #D4AF37;
  margin-bottom: 1rem;
}

.form-card p {
  color: #B8C5D6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.modal-open .modal{ z-index: 99999 !important;}

.modal-content {
  background-color: #0A1F44 !important;
  border: 1px solid #2C4F7C !important;
  border-radius: 15px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.modal-header {
  border-bottom: 1px solid #2C4F7C;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.modal-title {
  color: #D4AF37;
  font-weight: 700;
}

.btn-close {
  filter: invert(1);
}

.form-label {
  color: #B8C5D6;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background-color: #1e3c72 !important;
  border: 1px solid #2C4F7C !important;
  color: #fff !important;
  border-radius: 8px !important;
  /* padding: 12px 15px !important; */
  transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
  background-color: #2a5298 !important;
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
  color: #fff !important;
}

.form-control::placeholder {
  color: #8A9BAE !important;
}

.form-select option {
  background-color: #1e3c72;
  color: #fff;
}

/* Custom dropdown arrow color */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

/* Base dark styling */
.ts-control {
    background-color: #1e3c72 !important;
    border: 1px solid #2C4F7C !important;
    color: #fff !important;
    padding-right: 2rem !important; /* space for arrow */
    background-image: none !important; /* remove repeating arrows */
}

/* Remove default Tom Select caret completely */
.ts-wrapper.single .ts-control:after {
    display: none !important;
}

/* Add custom arrow only once */
.ts-wrapper.single .ts-control::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 16px;
    height: 16px;
    pointer-events: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='gray' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.042 2.345 4 3.204 4h9.592c.86 0 1.319 1.042.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    transform: translateY(-50%);
}

/* Remove default caret duplication */

.input-group-text {
  background-color: #2a5298 !important;
  border: 1px solid #2C4F7C !important;
  color: #D4AF37 !important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-submit {
  background: linear-gradient(to right, #D4AF37, #FFD700);
  border: none;
  padding: 12px 40px;
  font-weight: 600;
  border-radius: 50px;
  color: #0A1F44;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  font-size: 14px;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  background: linear-gradient(to right, #FFD700, #D4AF37);
}

.disclaimer {
  background: rgba(46, 79, 124, 0.3);
  border-left: 4px solid #D4AF37;
  padding: 15px;
  margin-top: 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #B8C5D6;
}

.form-check-input {
  background-color: #1e3c72;
  border: 1px solid #2C4F7C;
}

.form-check-input:checked {
  background-color: #D4AF37;
  border-color: #D4AF37;
}

.form-check-label {
  color: #B8C5D6;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .modal-dialog {
    margin: 1rem;
  }
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}


.modal-header .close,
.modal-header button.close {
  background: transparent !important;   /* kill gradient/box */
  box-shadow: none !important;          /* remove shadow */
  border: none !important;              /* remove border */
  outline: none !important;             /* remove outline */
  opacity: 1 !important;                /* ensure visibility */
  color: #fff !important;               /* white "×" */
  font-size: 1.8rem !important;         /* make it larger */
  line-height: 1 !important;
}

.modal-header .close:hover,
.modal-header button.close:hover {
  color: #B8C5D6 !important;            /* hover color */
  background: transparent !important;   /* keep transparent */
}

.light_button_custom{ background: transparent;}