

.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.contact-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--vo-border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  padding: 1.5rem;
}

.contact-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--vo-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal-close:hover {
  background: var(--vo-bg);
  color: var(--vo-text);
}

.contact-modal-card h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--vo-text);
}

.contact-modal-note {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--vo-muted);
  line-height: 1.5;
}

.contact-field {
  margin-bottom: 1rem;
}

.contact-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vo-text);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--vo-border);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  font: inherit;
  color: var(--vo-text);
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--vo-blue);
  box-shadow: 0 0 0 3px rgba(3, 88, 247, 0.12);
}

.contact-field-error,
.contact-form-error {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #dc2626;
}

.contact-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

body.contact-modal-open {
  overflow: hidden;
}

.vo-toast {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 420px);
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 1px solid var(--vo-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  font-size: 0.875rem;
  z-index: 1100;
  animation: vo-toast-in 0.25s ease;
}

.vo-toast.success {
  border-color: #16a34a;
  color: #16a34a;
}

.vo-toast.error {
  border-color: #dc2626;
  color: #dc2626;
}

@keyframes vo-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
