﻿.contact-page { padding-block: 64px 80px; color: var(--text); }
.contact-page h1 { color: var(--text); }
.contact-page p, .contact-page label, .contact-page address, .contact-page [id$="-label"], .contact-page a div { color: var(--text) !important; }
.contact-page form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.contact-page label, .contact-page [id$="-label"] { font-size: 14px !important; letter-spacing: 0 !important; font-weight: 600; }
.contact-page .form-input { color: var(--text) !important; background: var(--bg) !important; border: 1px solid var(--muted) !important; border-radius: 10px; padding: 12px 14px !important; outline-offset: 3px; min-height: 48px; }
.contact-page .form-input::placeholder { color: var(--muted) !important; opacity: 1; }
.contact-page .form-input:focus { outline: 2px solid var(--green); }
.contact-page input.peer + span { border-color: var(--muted) !important; }
.contact-page input.peer:checked + span { background: var(--green); color: #101510; border-color: var(--green) !important; }
.contact-page input.peer:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.contact-page #formError { color: #d95353 !important; }
@media (max-width: 640px) { .contact-page { padding-block: 36px 60px; } }

.footer-contact { width: 100%; flex: 0 0 100%; order: -2; font-size: 16px; scroll-margin-top: 90px; }
.contact-page h2 { color: var(--text); }

.contact-page input, .contact-page textarea, .contact-page select { font-family: 'Vazirmatn', sans-serif !important; letter-spacing: normal !important; }

/* Keep the shared footer buttons consistent with and without Tailwind preflight. */
.contact-page .contact-send { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 14px 28px; border: 2px solid #F4F1EA; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: normal; transition: background-color .2s, color .2s; }
.contact-page .contact-send-whatsapp { background: #72BF44; color: #0A0A0B; }
.contact-page .contact-send-whatsapp:hover { background: #F4F1EA; color: #0A0A0B; }
.dark .contact-page .contact-send-whatsapp:hover { background: #0A0A0B; color: #F4F1EA; }
.contact-page .contact-send-bale { background: #3463AF; color: #fff; }
.contact-page .contact-send-bale:hover { background: #2B559A; }
.contact-page .contact-send svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (min-width: 640px) { .contact-page .contact-send { width: auto; padding: 16px 32px; } }
