/* =============================================================================
   CONTACT component — default theme
   Generated by ffs-css-audit refactor (v0.40.0)
   ============================================================================= */

/* ── Migrated from style.css ─────────────────────────────────────────────── */
.contact-columns {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
  /* Keep the contact layout centred even when screen_width is "full".
     The outer content-wrap may have max-width:none, but the two-column
     form has a natural reading limit — cap it independently. */
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Composite slot layout: info + form side by side ─────────────────────── */
/* When contact is split into "info" and "form" slots via site.json,          */
/* CompositePage renders them in a composite-page--horizontal flex row.       */
/* We override that to match the .contact-columns 340px/1fr grid.            */
.composite-page--horizontal:has(.page-contact-info) {
  display: grid !important;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}
.composite-page--horizontal .page-contact-info,
.composite-page--horizontal .page-contact-form {
  min-width: 0;
}
.contact-info-panel {
  /* background: #f2f2f7; */         /* iOS-style light grey */
  color: #1c1c1e;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1.5px solid rgba(0,0,0,0.08);
}
.contact-avatar-tile {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f3460, #1a1a2e);
  box-shadow: 0 6px 18px rgba(15,52,96,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.contact-info-name {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  color: #1c1c1e;
  line-height: 1.3;
}
.contact-info-jobtitle {
  display: block;
  font-size: 0.80rem;
  color: #6e6e73;
  margin-top: 3px;
  line-height: 1.4;
}
.avail-yes {
  background: #60a060;
  color: #fff;
  border: 1px solid #15803d;
  box-shadow: 0 2px 10px rgba(22,163,74,0.35);
}
.avail-badge {
  display: inline-flex;   /* block yerine inline-flex — satır içi davranır */
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.avail-dot {
  font-size: 0.6rem;      /* nokta biraz küçük dursun */
  line-height: 1;
}
.contact-info-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  /* default gradient — overridden per-row via data-icon attr below */
/*
  background: linear-gradient(145deg, #7c6ee0, #5a4fcf);
  box-shadow: 0 4px 12px rgba(15,52,96,0.25);
*/

/*
  background: linear-gradient(145deg, #252540, #1a1a2e);
  box-shadow: 0 4px 14px rgba(26,26,46,0.35);
*/

/*
  background: linear-gradient(145deg, #d4b060, #b8902e);
  box-shadow: 0 4px 14px rgba(184,144,46,0.30);
*/

  background: linear-gradient(145deg, #ffffff, #a0a0a0);
  box-shadow: 0 4px 14px rgba(26,26,46,0.35);
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-info-label {
  display: block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8e8e93;
}
.contact-info-value {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: #1c1c1e;
  word-break: break-word;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-title {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  /* color: #111; */
  margin-bottom: 12px;
  /* letter-spacing: -0.03em; */
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form-title {
  margin-bottom: 4px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.contact-submit-btn {
  background: #111 !important;
  color: #fff !important;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s, opacity 0.2s !important;
}
.contact-submit-btn:hover:not(:disabled) { background: #444 !important; }
.contact-submit-btn:disabled {
  background: #999 !important;
  color: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.55 !important;
  transform: none !important;
  box-shadow: none !important;
}
.form-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-field-row:last-of-type { margin-bottom: 0; }
.form-label-required::after {
  content: " *";
  color: #c0392b;
  font-weight: 900;
}
.form-email-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.btn-verify {
  flex-shrink: 0;
  padding: 0 20px;
  height: 42px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
}
.btn-verify:hover:not(:disabled) { background: #333; }
.btn-verify:disabled {
  background: #bbb;
  cursor: not-allowed;
  opacity: 0.6;
}
.otp-section {
  background: #f7f7f9;
  border: 1.5px solid #e0e0e8;
  border-radius: 10px;
  padding: 22px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.otp-hint {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}
.otp-box-row {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
.otp-box {
  width: 46px !important;
  height: 54px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  background: #fff;
  caret-color: transparent;
  transition: border-color 0.18s, box-shadow 0.18s;
  padding: 0 !important;
}
.otp-box:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,0.1);
}
.otp-box:disabled {
  background: #f0f0f0;
  border-color: #ddd;
  color: #aaa;
}
.otp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.otp-timer {
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #888;
}
.otp-status-text {
  font-size: 0.82rem;
  color: #c0392b;
  font-weight: 600;
}
.contact-info-link {
  /* color: #0f3460 !important; */
  color: initial !important;
  text-decoration: none;
  word-break: break-all;
  font-size: 0.88rem !important;
  font-weight: 600;
}
.contact-info-link:visited,
.contact-info-link:active {
  color: initial !important;
}
.contact-info-link:hover { 
  color: #0f3460 !important;
  text-decoration: underline; 
}
/* ── Identity row: salutation group + name group side by side ─────────── */
.form-identity-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;         /* inputs line up at bottom */
  margin-bottom: 20px;
}
.form-identity-sal {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}
.form-identity-sal .form-label {
  margin-top: 0;
}
.form-identity-name {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.form-identity-name .form-label {
  margin-top: 0;
}
.form-salutation-combo {
  height: 42px;
  padding: 0 10px;
  font-size: 0.88rem;
  font-family: inherit;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
  color: #333;
  cursor: pointer;
  outline: none;
  appearance: auto;
  transition: border-color 0.2s;
  min-width: 140px;
}
.form-salutation-combo:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
  background: #fff;
}
.form-salutation-combo:disabled {
  background: #f0f0f0;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.6;
}
.page-contact {
  min-height: 60vh;
}

/* ── Component-specific overrides ────────────────────────────────────────── */
.contact-intro { font-size: 1rem; color: #555; margin-bottom: 32px; }
.contact-form { max-width: none; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
  margin-top: 20px;
}
.form-label:first-child { margin-top: 0; }
.form-label-disabled {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
  margin-top: 20px;
  opacity: 0.6 !important;
}
.form-input,
.form-textarea,
input.Wt-edit,
textarea.Wt-edit {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
}
.form-input:focus,
.form-textarea:focus,
input.Wt-edit:focus,
textarea.Wt-edit:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
  background: #fff;
}
.form-input-disabled
{
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
  opacity: 0.6;
}
.input-error { border-color: #c0392b !important; }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-form .cta-button {
  margin-top: 24px;
  background: #1a1a2e;
  color: #fff;
  width: 100%;
  text-align: center;
}
.contact-form .cta-button:hover { background: #0f3460; }
.avail-label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 4px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

/* Tablet (≤ 768px): single-column layout, form first */
@media (max-width: 768px) {
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .composite-page--horizontal:has(.page-contact-info) {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .contact-form-wrap   { order: 1; }
  .contact-info-panel  { order: 2; padding: 20px 16px; }
  .contact-info-rows   { gap: 8px; }

  .contact-form-wrap,
  .contact-form {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .form-input,
  .form-textarea,
  input.Wt-edit,
  textarea.Wt-edit {
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Phone (≤ 480px): stack identity groups + email row vertically */
@media (max-width: 480px) {
  .form-identity-row { flex-direction: column; gap: 0; }
  .form-identity-sal { width: 100%; }
  .form-salutation-combo { width: 100%; }
  .form-identity-name { width: 100%; }

  .form-email-row { flex-direction: column; }
  .btn-verify { height: 42px; width: 100%; }

  .otp-box { width: 38px !important; height: 46px; font-size: 1.2rem; }
  .otp-box-row { gap: 6px; }
}
