/* ==========================================================================
   ZERALVO Müşteri İletişim Formu ve Destek Sayfası Stilleri (Apple / Swiss Clean)
   ========================================================================== */

.contact-page-container {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 80px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 40px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 12px;
}

.contact-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.contact-hero p {
  font-size: 15px;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 2-Column Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-page-container {
    margin: 20px auto 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Left Sidebar Channels */
.contact-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #0f172a;
}

.contact-info-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.contact-info-text a {
  color: #0284c7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.contact-info-text a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.contact-info-text span {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  display: block;
}

.contact-live-guarantee {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

.contact-live-guarantee strong {
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}

/* Right Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px 18px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group label .req {
  color: #e11d48;
  margin-left: 2px;
}

.form-group label .opt {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.form-control.input-error {
  border-color: #e11d48;
  background: #fff1f2;
}

.form-control.input-error:focus {
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.field-error {
  font-size: 12px;
  font-weight: 600;
  color: #e11d48;
  display: none;
  margin-top: 2px;
}

.field-error.visible {
  display: block;
}

/* Order Number Group Animation */
#orderNumberGroup {
  transition: all 0.25s ease-in-out;
}

#orderNumberGroup.is-hidden {
  display: none;
}

/* Honeypot hidden */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

/* Submit Button */
.btn-contact-submit {
  width: 100%;
  min-height: 48px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
}

.btn-contact-submit:hover:not(:disabled) {
  background: #27272a;
}

.btn-contact-submit:active:not(:disabled) {
  transform: scale(0.99);
}

.btn-contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-legal-hint {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  text-align: center;
  margin-top: -4px;
}

.contact-legal-hint a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
}

/* Error / Success Status Alerts */
.form-alert {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: none;
  margin-top: 10px;
}

.form-alert.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Success Card */
.contact-success-card {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 10px;
}

.contact-success-card .success-icon {
  width: 56px;
  height: 56px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.contact-success-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.contact-success-card p {
  font-size: 14px;
  color: #475569;
  max-width: 440px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.ticket-ref-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 24px;
  margin-bottom: 16px;
}

.ticket-ref-box span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.ticket-ref-box strong {
  font-family: monospace;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.08em;
}

.btn-new-message {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-new-message:hover {
  background: #f1f5f9;
}
