/* HosurOnline Peace of Mind Form Stylesheet (Aligned with birth-chart.php) */
body {
    font-family: 'Noto Sans Tamil', 'Latha', 'Segoe UI', system-ui, sans-serif;
    background: #f5f3ef;
    color: #1f2937;
    margin: 0;
}
.ho-page-shell { max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.ho-page-shell *, .ho-page-shell *::before, .ho-page-shell *::after { box-sizing: border-box; }
.ho-topbar-strip { background: #fdf8ee; border-bottom: 1px solid #ead9b5; }
.pom-standalone-header { background: #6b1d1d; color: #fff; padding: 12px 0; border-bottom: 3px solid #b8862d; }
.pom-standalone-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pom-standalone-logo { height: 34px; background: #fff; padding: 4px 10px; border-radius: 6px; }
.pom-standalone-tag { font-size: 13px; font-weight: 600; color: #faf6ee; }

.ho-breadcrumb-bar {
    margin: 14px 0 18px; padding: 10px 14px; background: #ffffff;
    border: 1px solid #e5e7eb; border-radius: 8px; font-size: 13.5px; color: #374151;
}
.ho-breadcrumb-bar a { color: #7c1d1d; font-weight: 700; text-decoration: none; }
.ho-breadcrumb-sep { margin: 0 8px; color: #9ca3af; }

.ho-main-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 28px; }
.ho-content-box { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 22px; min-width: 0; }
.ho-ad-label { display: inline-block; font-size: 12px; font-weight: 700; color: #6b7280; margin-bottom: 10px; }
.ho-sidebar-stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ho-learn-box { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; }
.ho-learn-heading { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; color: #7c1d1d; font-size: 15px; font-weight: 800; }

.pom-hero-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    background: linear-gradient(135deg, #faf6ee 0%, #f3e6cc 100%);
    border: 1px solid #d6c3a5; border-left: 5px solid #6b1d1d;
    border-radius: 10px; padding: 16px 18px; margin-bottom: 18px;
}
.pom-hero-banner h1 { margin: 0 0 4px; font-size: 20px; color: #6b1d1d; line-height: 1.3; }
.pom-hero-sub { margin: 0 0 8px; font-size: 14px; color: #7c4a12; }
.pom-hero-desc { margin: 0; font-size: 13.2px; color: #374151; line-height: 1.55; }
.pom-hero-emblem { width: 125px; height: auto; flex-shrink: 0; }

.pom-alert-error {
    background: #fee2e2; border: 1px solid #f87171; color: #991b1b;
    border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 13.5px;
}
.pom-alert-error ul { margin: 6px 0 0 18px; padding: 0; }

.pom-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pom-form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.pom-col-12 { grid-column: span 12; }
.pom-col-8  { grid-column: span 8; }
.pom-col-6  { grid-column: span 6; }
.pom-col-4  { grid-column: span 4; }

.pom-field label { display: block; font-size: 13.5px; font-weight: 700; color: #374151; margin-bottom: 5px; }
.pom-field .req { color: #b91c1c; }
.pom-input {
    width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 6px;
    font-size: 14px; background: #fff; color: #1f2937;
}
.pom-input:focus { outline: none; border-color: #6b1d1d; box-shadow: 0 0 0 2px rgba(107,29,29,0.14); }
.pom-inline-3 { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; }

#search-result-container {
    background: #fff; border: 1px solid #cbd5e1; border-top: none;
    max-height: 220px; overflow-y: auto; border-radius: 0 0 6px 6px;
}
.search-result { border-bottom: 1px solid #e5e7eb; padding: 9px 12px; font-size: 14px; color: #1e40af; cursor: pointer; }
.search-result:hover { background: #faf6ee; }
.pom-coord-preview { margin-top: 5px; font-size: 12px; color: #57534e; }

.pom-submit-row { margin-top: 20px; }
.pom-btn-primary {
    width: 100%; padding: 14px 20px; border: none; border-radius: 8px;
    background: linear-gradient(135deg, #6b1d1d 0%, #8c2626 100%);
    color: #fff; font-size: 15.5px; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 12px rgba(107,29,29,0.22);
}
.pom-btn-primary:hover { background: linear-gradient(135deg, #561616 0%, #741e1e 100%); }

.pom-included-box {
    margin-top: 24px; padding: 16px 18px; background: #faf6ee;
    border: 1px solid #e5d7be; border-radius: 8px;
}
.pom-included-box h2 { margin: 0 0 10px; font-size: 15.5px; color: #6b1d1d; }
.pom-q-preview { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.65; color: #374151; }

@media (max-width: 900px) {
    .ho-main-grid { grid-template-columns: 1fr; }
    .pom-col-8, .pom-col-6, .pom-col-4 { grid-column: span 12; }
    .pom-hero-banner { flex-direction: column; text-align: center; }
}

.pom-bc-flex { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pom-lang-switch { display: inline-flex; gap: 6px; }
.pom-lang-pill {
    display: inline-block; padding: 4px 12px; border-radius: 16px;
    border: 1px solid #d6c3a5; background: #faf6ee; color: #6b1d1d !important;
    font-size: 12.5px; font-weight: 700; text-decoration: none !important;
}
.pom-lang-pill.active { background: #6b1d1d; color: #ffffff !important; border-color: #6b1d1d; }
