/* Button Override Adjustments */
.action-button-group button {
  border: none;
  outline: none;
  cursor: pointer;
}

/* Modal Blur Overlay Backdrop Setup */
.form-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(17, 11, 12, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
   z-index: 100000; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s;
}

/* Overlay Active Class Triggers */
.form-modal-overlay.modal-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Inner Window Content Card Layout */
.form-modal-window {
  background: #ffffff;
  border: 1px solid rgba(107, 0, 26, 0.08);
  box-shadow: 0 35px 80px rgba(17, 11, 12, 0.15);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-modal-overlay.modal-visible .form-modal-window {
  transform: scale(1) translateY(0);
}

/* Close Window Icon Element */
.modal-close-btn {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  font-size: 28px; color: #777777;
  cursor: pointer; z-index: 10;
  line-height: 1; transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #6b001a;
}

/* Form Layout Components */
.modal-form-body {
  padding: 40px;
}

.form-badge {
  display: inline-flex;
  background: #fbf0f2; color: #6b001a;
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.form-main-title {
  color: #111111; font-size: 26px; font-weight: 900; margin: 0 0 8px 0;
}

.gold-text-glow {
  background: linear-gradient(45deg, #a37f1a, #d4af37);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.form-subtitle {
  color: #666666; font-size: 13.5px; line-height: 1.5; margin: 0;
}

/* Luxury Input Field Wrappers */
.input-field-wrapper {
  display: flex; flex-direction: column; gap: 6px;
}

.field-label {
  font-size: 12.5px; font-weight: 700; color: #222222; text-transform: uppercase; letter-spacing: 0.3px;
}

.field-input-container {
  position: relative; width: 100%;
}

.field-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); color: #999999;
  font-size: 14px; pointer-events: none; transition: color 0.3s ease;
}

.form-control-input {
  width: 100%; padding: 13px 16px 13px 44px;
  background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px; font-size: 14.5px; color: #111111;
  outline: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Input Field States */
.form-control-input:focus {
  background: #ffffff; border-color: #d4af37;
  box-shadow: 0 8px 20px rgba(107, 0, 26, 0.03);
}

.form-control-input:focus + .field-icon {
  color: #6b001a;
}

/* Explicit Dropdown Selection Tweaks */
.selector-dropdown {
  appearance: none; -webkit-appearance: none; cursor: pointer;
}

/* Premium Core Submit Trigger Actions */
.form-submit-trigger {
  width: 100%; background: #6b001a; color: #ffffff;
  border: none; outline: none; padding: 15px 24px;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; margin-top: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-submit-trigger:hover {
  background: #d4af37; transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.2);
}

.submit-arrow {
  transition: transform 0.3s ease;
}

.form-submit-trigger:hover .submit-arrow {
  transform: translateX(4px);
}

/* ========================================== */
/*         STRICT RESPONSIVE MOBILE TARGETS   */
/* ========================================== */
@media (max-width: 575.98px) {
  .modal-form-body {
    padding: 30px 20px;
  }
  
  .form-main-title {
    font-size: 22px;
  }
  
  .form-control-input {
    padding: 12px 14px 12px 40px;
    font-size: 14px;
  }
}