/**
 * NETRAA — Manglik Dosha Stylesheet
 */
:root {
    --gold: #D4AF37;
    --maroon: #881337;
    --cream: #FFF8F0;
}
body {
    background: #f4efe6;
    font-family: "Georgia", "Times New Roman", serif;
}
.report-wrap {
    max-width: 100%;
    margin: 0 auto;
}
.report-header {
    background: linear-gradient(135deg, #7c2d12 0%, #b91c1c 50%, #450a0a 100%);
    padding: 18px 22px;
    border-radius: 8px;
    margin-bottom: 14px;
}
.report-header h1 {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.report-header .subtitle {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 2px 0 0;
}
.report-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #fff !important;
}
.section-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.section-title {
    background: linear-gradient(90deg, #991b1b, #7f1d1d);
    color: #fff;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.section-body {
    padding: 16px;
}
.footer-cred {
    background: linear-gradient(135deg, #3b0a0a, #5c1010, #2d0a0a);
    padding: 18px 20px;
    border-radius: 12px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .footer-cred .cred-grid {
        grid-template-columns: 1fr;
    }
}
.profile-card {
    border: 1px solid #e5d9c6;
    border-radius: 10px;
    padding: 18px;
    background: #fdfaf5;
}
.profile-card h5 {
    color: #991b1b;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid #e5d9c6;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.profile-label {
    color: #6b5b4e;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 110px;
}
.profile-value {
    font-weight: 600;
    color: #1e1b16;
    font-size: 0.92rem;
}
.planet-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}
.planet-grid th {
    background: #2d1b4e;
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}
.planet-grid td {
    padding: 12px 14px;
    border-bottom: 1px solid #ede5d8;
}
.planet-grid tr:nth-child(even) {
    background: #faf5ee;
}
.dosha-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
}
.intensity-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.8rem;
    margin: 0 auto;
    position: relative;
}
.intensity-ring.none {
    background: #22c55e;
    color: #fff;
}
.intensity-ring.low {
    background: #eab308;
    color: #000;
}
.intensity-ring.moderate {
    background: #f97316;
    color: #fff;
}
.intensity-ring.high {
    background: #ef4444;
    color: #fff;
}
.intensity-ring.severe {
    background: #991b1b;
    color: #fff;
}
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.chart-box {
    background: #fdfaf5;
    border: 1px solid #e5d9c6;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}
.chart-box h6 {
    color: #881337;
    font-weight: 700;
    margin-bottom: 10px;
}
.verdict-hero {
    background: linear-gradient(135deg, #fdfaf5, #fff8f0);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}
.verdict-hero h3 {
    color: #881337;
    font-weight: 800;
}
.remedy-card {
    background: #f0f7f0;
    border-left: 4px solid #2d7a3a;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
}
.remedy-card h6 {
    color: #2d7a3a;
    font-weight: 700;
}
.safe-chart-mini {
    background: linear-gradient(135deg, #ecfdf5 0%, #ecfeff 50%, #d1fae5 100%) !important;
    border: 1px solid #6ee7b7 !important;
}
@media (max-width: 768px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    @page {
        size: A4;
        margin: 5mm;
    }
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    body {
        background: #f4efe6 !important;
    }
    .no-print, .karma-header-bar, .premium-footer, .header-ad-banner, .footer-ad-banner, .premium-sidebar {
        display: none !important;
    }
    .col-lg-8 {
        flex: 0 0 auto;
        width: 100%;
    }
    .container, .report-wrap {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .report-header, .section-title, .footer-cred {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    svg {
        max-width: 100% !important;
    }
    .row.g-3 .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .row.g-3 .col-md-4 {
        flex: 0 0 auto;
        width: 33.333%;
    }
    .section-card {
        page-break-inside: avoid;
        margin-bottom: 12px !important;
    }
    .section-body {
        padding: 16px 20px !important;
    }
    .section-title {
        padding: 10px 18px !important;
        font-size: 0.95rem !important;
    }
    .profile-card {
        padding: 14px !important;
    }
    .profile-label {
        font-size: 0.78rem !important;
    }
    .profile-value {
        font-size: 0.9rem !important;
    }
    .planet-grid td, .planet-grid th {
        padding: 12px 14px !important;
        font-size: 0.9rem !important;
    }
    .intensity-ring {
        width: 100px !important;
        height: 100px !important;
        font-size: 1.5rem !important;
    }
    .dosha-badge {
        padding: 3px 12px !important;
        font-size: 0.72rem !important;
    }
    .card-body.p-3 {
        padding: 12px !important;
        font-size: 0.78rem !important;
    }
    .card-body.p-3 .small {
        font-size: 0.72rem !important;
    }
    .card-body h6 {
        font-size: 0.82rem !important;
    }
    .list-group-item {
        padding: 6px 0 !important;
        font-size: 0.8rem !important;
    }
    .footer-cred {
        padding: 14px 18px !important;
        margin-top: 14px !important;
        font-size: 0.72rem !important;
    }
    .print-page-break {
        page-break-before: always;
    }
}
