.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;

  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(7px);
  padding: 20px;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px;

  background: linear-gradient(180deg, #121a2c, #0b1220);
  border: 1px solid rgba(0, 166, 255, 0.22);
  border-radius: 16px;

  box-shadow:
    0 0 24px rgba(0, 145, 255, 0.35),
    0 20px 60px rgba(0, 0, 0, 0.65);
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;

  background: none;
  border: none;
  color: #b9c7d8;
  font-size: 1.8rem;
  cursor: pointer;
}

form input,
form textarea {
  width: 100%;
  margin-top: 12px;
  padding: 13px 14px;

  background: #1d2940;
  color: white;

  border: 1px solid rgba(0, 166, 255, 0.14);
  border-radius: 9px;

  font-size: 1rem;
  outline: none;
}

form input:focus,
form textarea:focus {
  border-color: rgba(0, 166, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.14);
}

form textarea {
  min-height: 110px;
  resize: none;
}

.consent-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.consent {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;

  width: 100%;
  max-width: 310px;

  text-align: left;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.4;
}

.consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.consent span {
  flex: 1;
}

#sendBtn {
  display: block;
  width: 100%;
  max-width: 210px;
  margin: 20px auto 0;
  padding: 14px 28px;

  background: linear-gradient(135deg, #006dff, #00a6ff);
  color: white;

  border: none;
  border-radius: 10px;

  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

#sendBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}