/* ============================================================
   BOTTLED SPARK — Contact Page CSS
   Form labels/inputs: 16px per patch script v7
   ============================================================ */

.page-contact {
  background-image: url('../images/bg_notebook.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-color: #00000040;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-contact main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 20px 60px;
}

.contact-inner {
  width: 100%;
  max-width: 700px;
}

/* Frosted glass card */
.form-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 32px;
}

/* ---- FORM — 16px per patch v7 ---- */
.bs-form * { box-sizing: border-box; }
.bs-form { font-family: 'Roboto', sans-serif; max-width: 700px; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.field { margin-bottom: 20px; }

.bs-form label {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.req { color: #cc3333; margin-left: 2px; }

.bs-form input,
.bs-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.bs-form input:focus,
.bs-form textarea:focus { border-bottom-color: #fff; }

.bs-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
}

.bs-form textarea { resize: vertical; min-height: 80px; }

.submit-btn {
  margin-top: 10px;
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
}
.submit-btn:hover { background: #2563eb; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.msg { margin-top: 14px; font-size: 13px; display: none; }
.msg.success { color: #7ec86e; }
.msg.error   { color: #f87171; }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
}
