/* VedicLit Kundli v4 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.vlk-wrap { font-family: Georgia, serif; max-width: 900px; margin: 0 auto; }

/* ── Form Header ─────────────────────────────────────────────────── */
.vlk-form-header { text-align: center; margin-bottom: 24px; }
.vlk-main-title  { font-size: 26px; font-weight: 700; color: #1A0F00; margin-bottom: 6px; }
.vlk-main-sub    { font-size: 14px; color: #6B3A1F; font-family: Arial, sans-serif; }

/* ── Login hint / Saved bar ──────────────────────────────────────── */
.vlk-login-hint  { text-align: center; font-size: 13px; color: #888; font-family: Arial, sans-serif; margin-bottom: 14px; }
.vlk-login-hint a { color: #E65100; text-decoration: none; font-weight: 600; }
.vlk-saved-bar   { margin-bottom: 16px; }
.vlk-saved-btn   { background: #fff; border: 1.5px solid #E65100; color: #E65100; border-radius: 20px; padding: 7px 18px; font-size: 13px; font-family: Arial, sans-serif; cursor: pointer; font-weight: 600; }
.vlk-saved-btn:hover { background: #FFF3E0; }
.vlk-saved-panel { background: #fff; border: 1px solid #E8D5B0; border-radius: 8px; padding: 14px; margin-top: 8px; }
.vlk-saved-item  { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid #F0E8D8; font-family: Arial, sans-serif; font-size: 13px; }
.vlk-saved-item:last-child { border-bottom: none; }
.vlk-saved-item-name { font-weight: 600; color: #1A0F00; }
.vlk-saved-item-info { font-size: 11px; color: #888; margin-top: 2px; }
.vlk-saved-item-btns { display: flex; gap: 6px; }
.vlk-saved-load { background: #E65100; color: #fff; border: none; border-radius: 12px; padding: 4px 12px; font-size: 11px; cursor: pointer; }
.vlk-saved-del  { background: #fff; color: #C62828; border: 1px solid #C62828; border-radius: 12px; padding: 4px 10px; font-size: 11px; cursor: pointer; }

/* ── Form — LIGHT CREAM THEME (matching references) ─────────────── */
.vlk-form {
    background: #FDFAF6;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid #E8D5B0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.vlk-form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.vlk-field      { display: flex; flex-direction: column; gap: 5px; }
.vlk-field-full { grid-column: 1 / -1; }
.vlk-label      { font-size: 12px; letter-spacing: 0.5px; color: #6B3A1F; font-family: Arial, sans-serif; font-weight: 600; }
.vlk-req        { color: #E65100; }

/* Input fields — clean white, light border, rounded (like references) */
.vlk-input {
    background: #fff;
    border: 1.5px solid #D4C4A8;
    border-radius: 8px;
    padding: 11px 14px;
    color: #1A0F00;
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.vlk-input:focus {
    border-color: #E65100;
    box-shadow: 0 0 0 3px rgba(230,81,0,0.1);
}
.vlk-input::placeholder { color: #B0A090; }
select.vlk-input { cursor: pointer; }
.vlk-hint { font-size: 11px; color: #B0A090; font-family: Arial, sans-serif; }

/* Calendar input wrapper */
.vlk-input-icon-wrap { position: relative; }
.vlk-input-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 16px; }
.vlk-date-input { padding-right: 36px; cursor: pointer; }

/* Time row */
.vlk-time-row  { display: flex; gap: 8px; align-items: center; }
.vlk-sel       { flex: 1; }
.vlk-colon     { font-size: 18px; font-weight: bold; color: #C8A96E; }

/* Suggestions */
.vlk-suggestions { background: #fff; border: 1px solid #D4C4A8; border-radius: 8px; display: none; z-index: 200; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-top: 2px; }
.vlk-sug-item   { padding: 10px 14px; cursor: pointer; font-family: Arial, sans-serif; font-size: 13px; color: #1A0F00; border-bottom: 1px solid #F0E8D8; }
.vlk-sug-item:last-child { border-bottom: none; }
.vlk-sug-item:hover { background: #FFF3E0; color: #E65100; }

/* Submit */
.vlk-submit-btn {
    background: #E65100;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    font-family: Georgia, serif;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}
.vlk-submit-btn:hover   { background: #BF360C; }
.vlk-submit-btn:active  { transform: scale(0.99); }
.vlk-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.vlk-error { margin-top: 12px; padding: 10px 14px; background: #FFF0F0; border: 1px solid #C62828; border-radius: 6px; color: #C62828; font-family: Arial, sans-serif; font-size: 13px; }

/* ── Result — LIGHT CREAM THEME ─────────────────────────────────── */
.vlk-result         { background: #FDFAF6; border-radius: 12px; padding: 28px; border: 1px solid #E8D5B0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.vlk-result-header  { text-align: center; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid #E8D5B0; }
.vlk-result-name    { font-size: 14px; color: #C8A96E; font-family: Georgia, serif; margin-bottom: 4px; }
.vlk-result-title   { font-size: 22px; font-weight: 700; color: #E65100; margin-bottom: 4px; font-family: Georgia, serif; }
.vlk-result-sub     { font-size: 13px; color: #6B3A1F; font-family: Arial, sans-serif; }

.vlk-top-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }

/* Cards */
.vlk-card         { background: #fff; border: 1px solid #E8D5B0; border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; }
.vlk-card-title   { font-size: 11px; color: #E65100; letter-spacing: 0.5px; text-transform: uppercase; font-family: Arial, sans-serif; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #F0E8D8; }
.vlk-nak-name     { font-size: 18px; font-weight: 700; color: #1A0F00; margin-bottom: 5px; }
.vlk-nak-detail   { font-size: 12px; color: #6B3A1F; font-family: Arial, sans-serif; margin: 3px 0; }
.vlk-dasha-main   { font-size: 17px; font-weight: 700; color: #1A0F00; margin-bottom: 4px; font-family: Georgia, serif; }
.vlk-crystal-rec  { font-size: 12px; color: #E65100; font-family: Arial, sans-serif; margin-top: 6px; font-weight: 600; }

/* Section titles */
.vlk-section-title { font-size: 13px; font-weight: 700; color: #6B3A1F; margin: 22px 0 10px; padding-bottom: 5px; border-bottom: 1.5px solid #E8D5B0; text-transform: uppercase; letter-spacing: 0.8px; font-family: Arial, sans-serif; }

/* Antardasha prediction */
.vlk-ad-box   { background: #FFF8EE; border: 1px solid #E8D5B0; border-left: 3px solid #E65100; border-radius: 0 8px 8px 0; padding: 14px 16px; margin-bottom: 8px; }
.vlk-ad-title { font-weight: 700; color: #E65100; font-family: Arial, sans-serif; font-size: 13px; margin-bottom: 6px; }
.vlk-ad-text  { font-size: 13px; color: #333; font-family: Arial, sans-serif; line-height: 1.7; }

/* Doshas */
.vlk-dosha-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 8px; }
.vlk-dosha-card   { border-radius: 8px; padding: 12px 14px; font-family: Arial, sans-serif; }
.vlk-dosha-active { background: #FFF3E0; border: 1.5px solid #E65100; }
.vlk-dosha-clear  { background: #F0FFF4; border: 1px solid #2E7D32; }
.vlk-dosha-title  { font-weight: 700; font-size: 13px; color: #1A0F00; margin-bottom: 5px; }
.vlk-dosha-status { font-size: 12px; color: #555; }
.vlk-dosha-remedy { font-size: 11px; color: #E65100; margin-top: 6px; padding-top: 5px; border-top: 1px solid #E8D5B0; }

/* Energy Profile */
.vlk-energy-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.vlk-energy-card  { background: #fff; border: 1px solid #E8D5B0; border-radius: 8px; padding: 14px; }
.vlk-personality-type { font-size: 20px; font-weight: 700; color: #E65100; font-family: Georgia, serif; margin-bottom: 4px; }
.vlk-personality-desc { font-size: 12px; color: #6B3A1F; font-family: Arial, sans-serif; margin-bottom: 8px; }
.vlk-element-tag  { display: inline-block; font-size: 11px; background: #FFF3E0; color: #E65100; padding: 3px 10px; border-radius: 12px; font-family: Arial, sans-serif; margin-bottom: 8px; border: 1px solid #E8D5B0; }
.vlk-traits       { display: flex; flex-wrap: wrap; gap: 4px; }
.vlk-trait        { font-size: 11px; background: #FDFAF6; color: #6B3A1F; padding: 3px 8px; border-radius: 10px; font-family: Arial, sans-serif; border: 1px solid #E8D5B0; }
.vlk-life-areas   { background: #fff; border-radius: 8px; padding: 14px; border: 1px solid #E8D5B0; }
.vlk-life-row     { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.vlk-life-label   { font-size: 12px; color: #6B3A1F; font-family: Arial, sans-serif; min-width: 160px; }
.vlk-life-bar-bg  { flex: 1; height: 8px; background: #F0E8D8; border-radius: 4px; overflow: hidden; }
.vlk-life-bar-fill { height: 8px; border-radius: 4px; transition: width 0.6s ease; }
.vlk-life-score   { font-size: 11px; color: #888; font-family: Arial, sans-serif; min-width: 32px; text-align: right; }

/* Planet table */
.vlk-table-wrap  { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
.vlk-table       { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 12px; min-width: 560px; }
.vlk-table th    { background: #F5ECD7; color: #6B3A1F; padding: 9px 10px; text-align: left; font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; border-bottom: 1.5px solid #E8D5B0; white-space: nowrap; }
.vlk-table td    { padding: 9px 10px; color: #1A0F00; border-bottom: 1px solid #F0E8D8; }
.vlk-table tbody tr:hover { background: #FFF8EE; }
.vlk-col-gem, .vlk-col-crystal { white-space: normal; }
.vlk-retro       { font-size: 9px; color: #888; background: #F0E8D8; padding: 1px 4px; border-radius: 3px; margin-left: 2px; }
.vlk-str-wrap    { width: 70px; height: 6px; background: #F0E8D8; border-radius: 3px; overflow: hidden; display: inline-block; margin-right: 4px; vertical-align: middle; }
.vlk-str-bar     { height: 6px; border-radius: 3px; }
.vlk-str-lbl     { font-size: 10px; color: #888; }
.vlk-crystal-col { color: #E65100; }
.vlk-cur-dasha td { background: #FFF3E0 !important; font-weight: 600; color: #E65100 !important; }
.vlk-badge       { background: #E65100; color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 10px; margin-left: 4px; }

/* Chakra */
.vlk-chakra-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 8px; }
.vlk-chakra-card  { background: #fff; border-radius: 8px; padding: 10px 8px; text-align: center; }
.vlk-chakra-dot   { width: 20px; height: 20px; border-radius: 50%; margin: 0 auto 6px; }
.vlk-chakra-name  { font-size: 11px; font-weight: 700; color: #1A0F00; font-family: Arial, sans-serif; margin-bottom: 2px; }
.vlk-chakra-planets { font-size: 9px; color: #888; font-family: Arial, sans-serif; margin-bottom: 3px; }
.vlk-chakra-status  { font-size: 9px; font-family: Arial, sans-serif; color: #555; }
.vlk-chakra-crystal { font-size: 9px; color: #E65100; font-family: Arial, sans-serif; margin-top: 3px; font-weight: 600; }

/* Gem recommendations */
.vlk-gem-recs     { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 10px; margin-bottom: 8px; }
.vlk-gem-card     { background: #fff; border: 1px solid #E8D5B0; border-radius: 8px; padding: 14px; }
.vlk-gem-planet   { font-size: 15px; font-weight: 700; color: #E65100; margin-bottom: 2px; font-family: Georgia, serif; }
.vlk-gem-reason   { font-size: 11px; color: #888; font-family: Arial, sans-serif; margin-bottom: 8px; }
.vlk-gem-comparison { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; margin-bottom: 8px; }
.vlk-gem-trad     { font-size: 12px; font-family: Arial, sans-serif; padding: 7px; border-radius: 5px; background: #FDFAF6; border: 1px solid #E8D5B0; }
.vlk-gem-vedic    { font-size: 12px; font-family: Arial, sans-serif; padding: 7px; border-radius: 5px; background: #FFF3E0; color: #E65100; border: 1px solid #E8D5B0; }
.vlk-gem-label    { font-size: 9px; text-transform: uppercase; color: #888; display: block; margin-bottom: 3px; }
.vlk-gem-vs       { font-size: 13px; color: #C8A96E; text-align: center; }
.vlk-gem-day      { font-size: 11px; color: #6B3A1F; font-family: Arial, sans-serif; padding-top: 6px; border-top: 1px solid #F0E8D8; }

/* Actions */
.vlk-actions    { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.vlk-pdf-btn    { flex: 1; background: #1A0F00; color: #C8A96E; border: 1.5px solid #C8A96E; border-radius: 8px; padding: 12px 20px; font-size: 14px; font-family: Georgia, serif; cursor: pointer; transition: all 0.2s; }
.vlk-pdf-btn:hover { background: #C8A96E; color: #1A0F00; }
.vlk-save-btn   { flex: 1; background: #E65100; color: #fff; border: none; border-radius: 8px; padding: 12px 20px; font-size: 14px; font-family: Georgia, serif; cursor: pointer; transition: background 0.2s; }
.vlk-save-btn:hover { background: #BF360C; }
.vlk-action-msg { margin-top: 10px; padding: 10px 14px; border-radius: 6px; font-family: Arial, sans-serif; font-size: 13px; text-align: center; }
.vlk-action-ok  { background: #F0FFF4; color: #2E7D32; border: 1px solid #2E7D32; }
.vlk-action-err { background: #FFF0F0; color: #C62828; border: 1px solid #C62828; }

.vlk-disclaimer { margin-top: 22px; padding: 14px 18px; background: #FFF8EE; border: 1px solid #E8D5B0; border-left: 3px solid #E65100; font-size: 12px; color: #555; font-family: Arial, sans-serif; line-height: 1.7; border-radius: 0 6px 6px 0; }

/* Flatpickr overrides to match brand */
.flatpickr-calendar { border-radius: 10px !important; border: 1px solid #E8D5B0 !important; box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important; font-family: Arial, sans-serif !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #E65100 !important; border-color: #E65100 !important; }
.flatpickr-day:hover { background: #FFF3E0 !important; }
.flatpickr-months .flatpickr-month { background: #E65100 !important; color: #fff !important; border-radius: 10px 10px 0 0 !important; }
.flatpickr-current-month, .flatpickr-current-month .cur-month, .flatpickr-current-month input.cur-year { color: #fff !important; }
.flatpickr-weekday { color: #E65100 !important; font-weight: 700 !important; }
.flatpickr-prev-month svg, .flatpickr-next-month svg { fill: #fff !important; }

@media (max-width: 600px) {
    .vlk-form-grid, .vlk-top-row, .vlk-dosha-grid, .vlk-energy-grid, .vlk-chakra-grid { grid-template-columns: 1fr !important; }
    .vlk-form, .vlk-result { padding: 18px; }
    .vlk-chakra-grid { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── Antardasha table ───────────────────────────────────────────── */
.vlk-dasha-tbl th:last-child,
.vlk-dasha-tbl td:last-child { color: #E65100; }

/* ── Life Predictions ───────────────────────────────────────────── */
.vlk-predictions    { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.vlk-pred-card      { background: #fff; border: 1px solid #E8D5B0; border-radius: 8px; padding: 18px 20px; border-left: 3px solid #E65100; }
.vlk-pred-title     { font-size: 13px; font-weight: 700; color: #1A0F00; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #F0E8D8; font-family: Georgia, serif; display: block; }
.vlk-pred-text      { font-size: 13px; color: #444; font-family: Arial, sans-serif; line-height: 1.75; }
@media (max-width: 600px) { .vlk-predictions { grid-template-columns: 1fr !important; } }
.vlk-disclaimer strong { color: #E65100; }
.vlk-disclaimer em { color: #aaa; font-size: 11px; }
