/* Taara Numerology Report — CSS v2.0.0
   Scoped to .tnr-* — zero global pollution */

/* ── Form Box ─────────────────────────────── */
.tnr-app { font-family: inherit; max-width: 760px; margin: 0 auto; }

.tnr-form-box {
    background: #fffdf5;
    border: 3px solid #e8640a;
    border-radius: 12px;
    padding: 32px 36px;
}
.tnr-form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.tnr-form-sub {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 24px;
}

/* ── Two-column field rows ─────────────────── */
.tnr-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

/* ── Fields ───────────────────────────────── */
.tnr-field { margin-bottom: 20px; }
.tnr-label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 7px;
    font-size: 0.97rem;
}
.tnr-req { color: #c0392b; }

.tnr-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.97rem;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s;
    appearance: auto;
}
.tnr-input:focus { outline: none; border-color: #e8640a; box-shadow: 0 0 0 2px rgba(232,100,10,.12); }

/* Date input — keep native picker, just style the box */
.tnr-dob-input { cursor: pointer; }

.tnr-select { cursor: pointer; }

/* ── Buttons ──────────────────────────────── */
.tnr-btn-row { display: flex; gap: 12px; margin-top: 24px; }
.tnr-btn {
    padding: 11px 28px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .05em;
    transition: opacity .15s, transform .1s;
}
.tnr-btn:hover  { opacity: .88; transform: translateY(-1px); }
.tnr-btn:active { transform: translateY(0); }
.tnr-btn-submit { background: #e8640a; color: #fff; }

/* ── Error ────────────────────────────────── */
.tnr-error {
    background: #fdecea;
    border: 1px solid #e74c3c;
    border-radius: 6px;
    padding: 10px 14px;
    color: #c0392b;
    font-size: 0.9rem;
    margin-top: 12px;
}

/* ── Loading ──────────────────────────────── */
.tnr-loading {
    text-align: center;
    padding: 40px 20px;
    color: #e8640a;
    font-size: 1rem;
}
.tnr-spinner {
    width: 42px; height: 42px;
    border: 4px solid #f3d0b5;
    border-top-color: #e8640a;
    border-radius: 50%;
    animation: tnr-spin .8s linear infinite;
    margin: 0 auto 14px;
}
@keyframes tnr-spin { to { transform: rotate(360deg); } }

/* ── Report ───────────────────────────────── */
.tnr-report { margin-top: 30px; }

.tnr-report-header {
    background: linear-gradient(135deg, #e8640a 0%, #c94f00 100%);
    border-radius: 12px;
    padding: 28px 30px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}
.tnr-report-title { font-size: 1.1rem; opacity: .85; letter-spacing: .06em; margin-bottom: 6px; }
.tnr-report-name  { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.tnr-report-meta  { font-size: 0.88rem; opacity: .75; }

/* Numbers strip */
.tnr-numbers-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.tnr-num-box {
    flex: 1;
    min-width: 90px;
    background: #fffdf5;
    border: 2px solid #e8640a;
    border-radius: 10px;
    text-align: center;
    padding: 14px 8px;
}
.tnr-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #e8640a;
    line-height: 1;
}
.tnr-num-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* Sections */
.tnr-section {
    background: #fffdf5;
    border: 1px solid #f0d5bc;
    border-left: 4px solid #e8640a;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 16px;
}
.tnr-section-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 12px;
}
.tnr-section-num {
    font-size: 2.4rem;
    font-weight: 900;
    color: #e8640a;
    line-height: 1;
    min-width: 48px;
    text-align: center;
}
.tnr-section-info { flex: 1; }
.tnr-section-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
}
.tnr-section-sub { margin: 0 0 8px; color: #888; font-size: 0.88rem; }
.tnr-keywords {
    font-size: 0.82rem;
    color: #e8640a;
    font-weight: 600;
    letter-spacing: .03em;
}
.tnr-personality { color: #333; line-height: 1.65; margin: 0 0 14px; }

.tnr-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.tnr-detail {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.5;
}
.tnr-detail strong { color: #1a1a1a; }

/* Lucky section */
.tnr-lucky-section {
    background: #fffdf5;
    border: 1px solid #f0d5bc;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 16px;
}
.tnr-lucky-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.tnr-lucky-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tnr-lucky-icon { font-size: 1.4rem; }
.tnr-lucky-label { font-size: 0.78rem; color: #888; display: block; font-weight: 600; }
.tnr-lucky-val   { font-size: 0.95rem; color: #1a1a1a; font-weight: 700; }
.tnr-lucky-item > div { display: flex; flex-direction: column; }

/* Blessing */
.tnr-blessing {
    background: linear-gradient(135deg, #e8640a 0%, #c94f00 100%);
    border-radius: 10px;
    padding: 24px 28px;
    color: #fff;
    text-align: center;
    line-height: 1.7;
}
.tnr-blessing p { margin: 0 0 12px; }
.tnr-blessing p:last-child { margin: 0; }
.tnr-signature { font-size: 0.92rem; opacity: .9; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 600px) {
    .tnr-form-box     { padding: 22px 18px; }
    .tnr-row-2        { grid-template-columns: 1fr; }
    .tnr-details-grid { grid-template-columns: 1fr; }
    .tnr-lucky-grid   { grid-template-columns: 1fr; }
    .tnr-section-head { flex-direction: column; gap: 8px; }
    .tnr-numbers-strip .tnr-num-box { min-width: 70px; }
}
