/* Contact feedback form (page + modal) */
.feedback-form {
  display: grid;
  gap: 0.55rem;
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.feedback-form label {
  color: #1a345f;
  font-size: 1.02rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.28rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid #dce6f8;
  border-radius: 9px;
  padding: 0.5rem 0.68rem;
  color: #0f172a;
  font-size: 0.91rem;
  font-family: inherit;
  background: #fbfdff;
  box-sizing: border-box;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #6ea8ff;
  box-shadow: 0 0 0 3px rgba(85, 145, 255, 0.16);
}

.feedback-form textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-form button[type="submit"].btn-primary {
  width: auto;
  justify-self: center;
  border-radius: 10px;
  padding: 0.62rem 1.15rem;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.feedback-note {
  margin: 0;
  color: #7690b8;
  font-size: 0.82rem;
  text-align: center;
}

.feedback-status {
  min-height: 1rem;
  font-size: 0.85rem;
  color: #5f7298;
  text-align: center;
}

.feedback-status.ok {
  color: #03925e;
}

.feedback-status.err {
  color: #dc2626;
}

@media (max-width: 640px) {
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal */
body.vf-contact-modal-open {
  overflow: hidden;
}

.vf-contact-modal[hidden] {
  display: none !important;
}

.vf-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.vf-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 11, 26, 0.72);
  backdrop-filter: blur(4px);
}

.vf-contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
  padding: 1.35rem 1.35rem 1.25rem;
}

.vf-contact-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vf-contact-modal-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #102a56;
  line-height: 1.2;
}

.vf-contact-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: #eef4ff;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.vf-contact-modal-close:hover {
  background: #dce8ff;
}

body.faq-page button.faq-support-btn {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}
