/* ELITE B2B CALLBACK MODAL STYLES */
:root {
  --modal-bg: rgba(14, 14, 14, 0.94);
  --modal-accent: #d4a017; /* Yumsphere Gold */
  --modal-red: #e31e24; /* Yumsphere Red */
  --modal-glass: rgba(255, 255, 255, 0.04);
  --modal-border: rgba(212, 160, 23, 0.15);
}

.callback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 20px;
}

.callback-overlay.active {
  opacity: 1;
  visibility: visible;
}

.callback-modal {
  width: 100%;
  max-width: 480px;
  background: var(--modal-bg);
  border: 1.5px solid var(--modal-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  transform: translateY(30px) scale(0.96);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.callback-overlay.active .callback-modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 30px 40px 15px;
  text-align: center;
}

.modal-header h2 {
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.modal-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: var(--modal-glass);
  border: 1px solid var(--modal-border);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--modal-accent);
  color: #000;
  transform: rotate(90deg);
}

.modal-body {
  padding: 10px 40px 40px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--modal-accent);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--modal-accent);
  background: rgba(212, 160, 23, 0.05);
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-select option {
  background: #111;
  color: #fff;
}

.modal-submit {
  width: 100%;
  padding: 16px;
  background: var(--modal-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  margin-top: 10px;
}

.modal-submit:hover {
  background: #c01a20;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(227, 30, 36, 0.4);
}

.success-state {
  display: none;
  text-align: center;
  padding: 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(40, 167, 69, 0.1);
  border: 2px solid #28a745;
  border-radius: 50%;
  color: #28a745;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .callback-modal { max-width: 100%; }
  .modal-header, .modal-body { padding-left: 25px; padding-right: 25px; }
  .modal-header h2 { font-size: 24px; }
}
