﻿:root {
    --bg: #0b0b0b;
    --panel-bg: #121212;
    --panel-font: #fff;
    --muted: #9aa0a6;
    --card-radius: 8px;
    --gap: 22px;
    --pad: 20px;
    --blue: #2b6fb6;
    --orange: #ef6c2f;
    --green: #3aa24a;
    --red: #e64545;
    --panel-border: rgba(255,255,255,0.03);
    --swottitle-color: #dfe6ea;
}

    :root[data-theme=light] {
        --bg: white;
        --panel-bg: grey;
        --panel-font: #000;
        --swottitle-color: #202020;
    }


html, body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
    color: #e8eaec
}

.wrap { 
    margin: 28px auto;
    padding: 28px;
}

/* Header */
.swot-header {
    margin-bottom: 20px;
}

.swot-title {
    font-weight: 600;
    letter-spacing: 0.08em; 
    margin: 0;
    font-size: 0.95rem;
    padding:10px;
}

.swot-sub {
    margin-top: 10px; 
    line-height: 1.45;
    font-size: 0.95rem;
}

/* grid */
.swot-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: var(--gap);
    margin-top: 18px;
}



/* FILLED PANELS OVERRIDE */
.panel {
    background: var(--panel-bg); /* fallback for non-filled panels */
    color: var(--panel-font);
    border: 1px solid rgba(255,255,255,0.15);
}

    /* Filled variants */
    .panel.blue {
        background: #0A72E8;
        border-left: 6px solid #5EA8FF;
        background-image: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
        box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 2px 8px rgba(255,255,255,0.12);
    }

    .panel.orange {
        background: #E86A2F;
        border-left: 6px solid #FF9B5E;
        background-image: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01));
        box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 2px 6px rgba(255,255,255,0.10);
    }

    .panel.green {
        background: #3AA24A;
        border-left: 6px solid #7EEA8F;
        background-image: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00));
        box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 2px 6px rgba(255,255,255,0.08);
    }

    .panel.red {
        background: #E64545;
        border-left: 6px solid #FF7A7A;
        background-image: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00));
        box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 2px 6px rgba(255,255,255,0.08);
    }

    /* Typography & dot adjustments to ensure contrast */
    .panel .heading h3 {
        color: white;
        padding:10px;
    }

    .panel .heading .dot {
        opacity: 0.85;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }

    .panel ul li {
        color: rgba(255,255,255,0.95);
        font-size: 0.92rem;
    }

    /* Keep panel heading spacing intact */
    .panel .heading {
        margin-bottom: 14px;
    }

/* small title above the grid */
.lead-small {
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 10px
}

@media (max-width:880px) {
    .swot-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .wrap {
        padding: 18px
    }
}

/* optional subtle container background for the panels area like screenshot */
.panel-area {
    background: rgba(255,255,255,0.01);
    padding: 18px;
    border-radius: 12px
}
 
#strengthsul, #weaknessesul, #opportunitiesul, #threatsul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 24px;
}

    #strengthsul li, #weaknessesul li, #opportunitiesul li, #threatsul li {
        break-inside: avoid;
        margin-bottom: 12px;
    }

.companyinfo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 12px 0;
}

    .companyinfo-grid li.full {
        grid-column: 1 / -1; /* spans all columns */
    }

@media (max-width: 640px) {
    .companyinfo-grid {
        grid-template-columns: 1fr; /* single column on mobile */
    }
}
.companyinfo-grid li {
    list-style: none; /* removes bullets */
    padding-left: 0; /* removes any left padding */
    margin-left: 0; /* remove margin if applied by framework */
    text-align: justify;
}
 