/* Hero */
.dasha-page-hero { background: var(--hero-gradient); color: white; text-align: center; padding: 24px 24px 20px; position: relative; overflow: hidden; }
.dasha-page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.dasha-page-hero h1 { font-size: 36px; font-weight: 900; color: white; line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.02em; }
.dasha-page-hero p  { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto; line-height: 1.6; }

.dasha-wrapper { max-width: 720px; margin: -20px auto 0; padding: 0 20px 56px; position: relative; z-index: 1; }

.dasha-hero { display: none; }

.dasha-explainer {
    background: var(--accent-bg); border: 1px solid var(--accent-border);
    border-radius: 16px; padding: 18px 20px; margin: 24px 0;
    font-size: 13.5px; color: var(--accent-text-dark); line-height: 1.7;
}
.dasha-explainer strong { color: var(--accent-text); }

.dasha-form-card {
    background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: 20px; padding: 28px 24px; margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

/* Fix mobile date/time dropdowns */
.dasha-form-card .date-selects {
    display: grid !important;
    grid-template-columns: 1fr 1.6fr 1.2fr !important;
    gap: 8px;
}
.dasha-form-card .time-selects {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 8px;
}
.dasha-form-card .date-select,
.dasha-form-card .time-select {
    width: 100% !important;
    min-width: 0 !important;
    padding: 11px 8px !important;
    font-size: 14px !important;
}
.dasha-form-card input[type=text] {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--input-border);
    border-radius: 10px; font-size: 15px; color: var(--text-900);
    background: #fafbfc; transition: border-color 0.15s, box-shadow 0.15s;
    outline: none; box-sizing: border-box;
}
.dasha-form-card input[type=text]:focus {
    border-color: var(--input-focus-border); box-shadow: 0 0 0 3px var(--focus-ring); background: white;
}

.dasha-submit-btn {
    display: block; width: 100%; padding: 15px;
    background: var(--brand-gradient);
    color: white; border: none; border-radius: 14px; font-size: 17px; font-weight: 700;
    cursor: pointer; transition: opacity 0.15s, transform 0.15s;
}
.dasha-submit-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.dasha-submit-btn:disabled { opacity: 0.5; cursor: default; transform: none; }

.no-kundali-note {
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px;
    padding: 14px 16px; font-size: 14px; color: #92400e; margin-bottom: 20px;
}
.no-kundali-note a { color: #c2410c; font-weight: 700; text-decoration: none; }

.error-box {
    background: #fef2f2; border: 1px solid #fecaca; color: #dc2626;
    padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px;
}

.free-limit-banner {
    background: linear-gradient(135deg,#fffbeb,#fef3c7);
    border: 2px solid #fde68a; border-radius: 18px; padding: 24px; text-align: center; margin-bottom: 24px;
}
.free-limit-banner h2 { font-size: 18px; font-weight: 800; color: #92400e; margin-bottom: 8px; }
.free-limit-banner p { font-size: 14px; color: #78350f; line-height: 1.6; margin-bottom: 16px; }
.upgrade-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg,#f59e0b,#f97316);
    color: white; padding: 12px 28px; border-radius: 12px;
    font-weight: 700; font-size: 15px; text-decoration: none; transition: opacity 0.15s;
}
.upgrade-cta-btn:hover { opacity: 0.88; }

.dasha-last-card {
    background: white; border: 2px solid #f59e0b; border-radius: 20px; padding: 24px; margin-bottom: 24px;
}
.dasha-last-header h2 { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.dasha-last-header p { font-size: 13px; color: #64748b; margin-bottom: 16px; }

.dasha-period-row {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.dasha-period-chip {
    background: #fef3c7; border-radius: 12px; padding: 10px 16px; text-align: center;
}
.dasha-period-chip-label { font-size: 11px; color: #c2410c; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.dasha-period-chip-value { font-size: 16px; font-weight: 800; color: #0f172a; margin-top: 2px; }

.dasha-section { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.dasha-section:last-child { border-bottom: none; }
.dasha-section-heading { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.dasha-section-body p { font-size: 14px; color: #334155; line-height: 1.7; margin-bottom: 4px; }

.view-full-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #c2410c; font-weight: 700; font-size: 14px; text-decoration: none;
    margin-top: 8px;
}
.view-full-link:hover { text-decoration: underline; }

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

/* Loading overlay */
@keyframes dspin   { from{transform:rotate(0deg)}to{transform:rotate(360deg)} }
@keyframes dbounce { 0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-8px);opacity:1} }

/* Vimshottari guide (_dasha_guide.html) — same look as the /kundali-milan guide */
.dasha-guide { background: var(--bg-card); border: 1.5px solid var(--accent-border); border-radius: 20px; padding: 22px 20px; margin-top: 32px; }
.dasha-guide h2 { font-size: 18px; font-weight: 800; color: var(--text-900); margin: 0 0 4px; }
.dasha-guide h3 { font-size: 15px; font-weight: 800; color: var(--text-900); margin: 18px 0 6px; }
.dasha-guide p { font-size: 14px; color: var(--text-600); line-height: 1.7; margin: 0 0 8px; }
.dasha-guide .dasha-guide-sub { font-size: 13px; color: var(--text-400); margin: 0 0 14px; line-height: 1.6; }
.dasha-guide a { color: var(--accent-text); font-weight: 700; }
.dasha-guide-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--text-900); margin-bottom: 8px; }
.dasha-guide-table th, .dasha-guide-table td { border-top: 1px solid var(--accent-border); padding: 9px 6px; text-align: left; vertical-align: top; line-height: 1.6; }
.dasha-guide-table thead th { border-top: 0; font-size: 13px; color: var(--text-400); font-weight: 700; }
.dasha-guide-table tbody th { white-space: nowrap; font-weight: 800; }
.dasha-guide-table td a { display: inline-block; min-height: 24px; min-width: 24px; text-align: center; padding: 2px 3px; }
