/* ==========================================================
   SEEKER ACQUISITION BUSINESS PLAN
========================================================== */

.sa-plan {
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #1e293b;
}


/* ==========================================================
   HERO
========================================================== */

.sa-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 28px 32px;

    background:
        linear-gradient(
            135deg,
            #0e315f 0%,
            #145386 55%,
            #246da4 100%
        );

    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 12px 30px rgba(20, 83, 134, 0.18);
}

.sa-hero::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;

    right: -100px;
    top: -170px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.sa-hero::after {
    content: "";
    position: absolute;

    width: 210px;
    height: 210px;

    right: 100px;
    bottom: -175px;

    border: 30px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.sa-hero-copy {
    display: flex;
    align-items: center;
    gap: 20px;

    position: relative;
    z-index: 2;
}

.sa-hero-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);

    color: #fff;
    font-size: 29px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18);
}

.sa-eyebrow {
    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;

    color: #a9d8ff;
}

.sa-title {
    margin: 0;

    color: #fff;

    font-size: 31px;
    line-height: 1.1;
    font-weight: 800;
}

.sa-subtitle {
    max-width: 720px;

    margin-top: 7px;

    color: rgba(255,255,255,.78);

    font-size: 14px;
    line-height: 1.5;
}

.sa-year-badge {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;

    padding: 10px 15px;

    border-radius: 999px;

    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);

    color: #fff;

    font-size: 12px;
    font-weight: 700;
}


/* ==========================================================
   KPI AREA
========================================================== */

.sa-kpis {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 16px;
}

.sa-kpi {
    position: relative;

    min-height: 145px;

    padding: 18px;

    border-radius: 14px;

    background: #fff;
    border: 1px solid #e4eaf2;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(15, 39, 71, 0.06);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.sa-kpi:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(15, 39, 71, 0.10);
}

.sa-kpi::after {
    content: "";

    position: absolute;

    right: -25px;
    bottom: -35px;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: currentColor;
    opacity: .04;
}

.sa-kpi-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.sa-kpi-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #fff;

    font-size: 17px;
}

.sa-kpi-label {
    color: #64748b;

    font-size: 10px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.sa-kpi-label strong {
    display: block;

    margin-top: 1px;

    color: #24364d;

    font-size: 11px;
}

.sa-kpi-input,
.sa-kpi-value {
    margin-top: 15px;
}

.sa-kpi-value {
    font-size: 28px;
    font-weight: 800;
}

.sa-kpi-hint {
    margin-top: 6px;

    color: #94a3b8;

    font-size: 10px;
}


/* KPI COLOURS */

.sa-kpi-green {
    color: #4DA57F;
}

.sa-kpi-green .sa-kpi-icon {
    background: #4DA57F;
}

.sa-kpi-green .sa-kpi-value {
    color: #4DA57F;
}


.sa-kpi-purple {
    color: #7c55b5;
}

.sa-kpi-purple .sa-kpi-icon {
    background: #7c55b5;
}

.sa-kpi-purple .sa-kpi-value {
    color: #7c55b5;
}


.sa-kpi-blue {
    color: #145386;
}

.sa-kpi-blue .sa-kpi-icon {
    background: #145386;
}

.sa-kpi-blue .sa-kpi-value {
    color: #145386;
}


.sa-kpi-orange {
    color: #ef7d32;
}

.sa-kpi-orange .sa-kpi-icon {
    background: #ef7d32;
}

.sa-kpi-orange .sa-kpi-value {
    color: #ef7d32;
}


/* ==========================================================
   INFO STRIP
========================================================== */

.sa-info-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 16px;

    padding: 13px 17px;

    border: 1px solid #d9e7f3;
    border-radius: 11px;

    background:
        linear-gradient(
            90deg,
            #f4f9fd 0%,
            #fbfdff 100%
        );
}

.sa-info-main {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 11px;
    color: #51657a;
}

.sa-info-main strong {
    display: block;

    margin-bottom: 2px;

    color: #183d63;

    font-size: 12px;
}

.sa-info-main span {
    display: block;
}

.sa-info-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e1eef8;

    color: #145386;

    font-size: 13px;
}

.sa-info-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 11px;

    border-radius: 999px;

    background: #fff3e8;

    color: #c76625;

    white-space: nowrap;

    font-size: 10px;
    font-weight: 700;
}


/* ==========================================================
   MAIN PANEL
========================================================== */

.sa-panel {
    margin-top: 16px;

    border: 1px solid #e0e7ef;
    border-radius: 15px;

    background: #fff;

    overflow: hidden;

    box-shadow:
        0 8px 24px rgba(20, 55, 90, 0.06);
}

.sa-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 18px 22px;

    border-bottom: 1px solid #e4eaf1;
}

.sa-panel-eyebrow {
    color: #4DA57F;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.sa-panel-title {
    margin-top: 3px;

    color: #173a60;

    font-size: 19px;
    font-weight: 800;
}

.sa-panel-note {
    max-width: 430px;

    color: #7b8c9f;

    text-align: right;

    font-size: 10px;
    line-height: 1.5;
}


/* ==========================================================
   TABLE
========================================================== */

.sa-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.sa-table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    table-layout: fixed;
}


/* GROUP ROW */

.sa-group-row th {
    padding: 8px 12px;

    background: #edf4fa;

    border-bottom: 1px solid #dce7f1;

    color: #315d83;

    text-align: center;

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.sa-group-row .sa-source-head {
    background: #fff;
}

.sa-group-icon {
    margin-right: 4px;

    color: #4DA57F;
}


/* COLUMN HEADERS */

.sa-column-row th {
    padding: 14px 13px;

    background: #f9fbfd;

    border-right: 1px solid #edf1f5;
    border-bottom: 1px solid #dfe7ef;

    color: #173a60;

    text-align: center;

    vertical-align: middle;
}

.sa-column-row th:last-child {
    border-right: 0;
}

.sa-column-label {
    display: block;

    font-size: 11px;
    font-weight: 800;
}

.sa-column-row small {
    display: block;

    margin-top: 4px;

    color: #8796a7;

    font-size: 9px;
    font-weight: 400;
}


/* COLUMN WIDTHS */

.sa-source-column {
    width: 28%;
    text-align: left !important;
}

.sa-record-column {
    width: 14%;
}

.sa-placement-column {
    width: 15%;
}

.sa-investment-column {
    width: 17%;
}

.sa-notes-column {
    width: 26%;
}


/* BODY */

.sa-table tbody td {
    padding: 10px 13px;

    background: #fff;

    border-right: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;

    vertical-align: middle;

    transition: background .15s ease;
}

.sa-table tbody td:last-child {
    border-right: 0;
}

.sa-table tbody tr:hover td {
    background: #f8fbfe;
}


/* ==========================================================
   SOURCE DISPLAY
========================================================== */

.sa-source {
    display: flex;
    align-items: center;
    gap: 11px;
}

.sa-source-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #fff;

    font-size: 13px;

    box-shadow:
        0 3px 8px rgba(0,0,0,.10);
}

.sa-source strong {
    display: block;

    color: #263e59;

    font-size: 11px;
    line-height: 1.25;
}

.sa-source small {
    display: block;

    margin-top: 3px;

    color: #97a4b3;

    font-size: 9px;
}


/* SOURCE COLOURS */

.sa-red {
    background: #df4b40;
}

.sa-green {
    background: #4DA57F;
}

.sa-pink {
    background: #d94f81;
}

.sa-purple {
    background: #7658ba;
}

.sa-emerald {
    background: #37966a;
}

.sa-orange {
    background: #ef913d;
}

.sa-blue {
    background: #3274be;
}

.sa-cyan {
    background: #39a4c8;
}

.sa-linkedin {
    background: #0a78b5;
}

.sa-gold {
    background: #c99c27;
}

.sa-violet {
    background: #7954aa;
}


/* ==========================================================
   INPUT / RESULT CELLS
========================================================== */

.sa-input-cell,
.sa-notes-cell {
    text-align: center;
}

.sa-result-cell {
    position: relative;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #f4f9fd 0%,
            #fbfdff 100%
        ) !important;
}

.sa-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;

    padding: 5px 10px;

    border-radius: 999px;

    background: #e3f0f9;

    color: #145386;

    font-size: 12px;
    font-weight: 800;
}


/* ==========================================================
   TOTALS
========================================================== */

.sa-table tfoot td {
    padding: 14px 13px;

    background:
        linear-gradient(
            90deg,
            #153d65 0%,
            #145386 100%
        );

    color: #fff;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,.12);
}

.sa-table tfoot td:first-child {
    text-align: left;
}

.sa-table tfoot td:last-child {
    border-right: 0;
}

.sa-table tfoot small {
    display: block;

    margin-bottom: 3px;

    color: rgba(255,255,255,.60);

    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.sa-table tfoot strong {
    display: block;

    font-size: 17px;
    font-weight: 800;
}

.sa-total-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sa-total-label > span {
    width: 34px;
    height: 34px;
    min-width: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,.13);

    color: #fff;
}

.sa-total-label small {
    margin-bottom: 1px !important;
}

.sa-total-label strong {
    font-size: 13px !important;
}

.sa-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(255,255,255,.13);

    font-size: 9px;
    font-weight: 700;
}


/* ==========================================================
   FOOTER
========================================================== */

.sa-footer {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 11px;

    padding: 11px 14px;

    color: #788a9d;

    font-size: 9px;
    line-height: 1.5;
}

.sa-footer strong {
    color: #435c75;
}

.sa-footer-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf3fa;

    color: #145386;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1200px) {

    .sa-kpis {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 850px) {

    .sa-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .sa-info-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .sa-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sa-panel-note {
        text-align: left;
    }

}


@media (max-width: 600px) {

    .sa-kpis {
        grid-template-columns: 1fr;
    }

    .sa-hero {
        padding: 22px;
    }

    .sa-title {
        font-size: 25px;
    }

}

.sa-actions {
    margin-top: 14px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(20, 55, 90, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sa-actions-text {
    color: #7b8c9f;
    font-size: 10px;
    line-height: 1.5;
}

.sa-actions-text strong {
    display: block;
    color: #294765;
    font-size: 12px;
    margin-bottom: 2px;
}

.sa-save-button {
    min-width: 180px;
    padding: 11px 18px;
    border: none;
    border-radius: 9px;
    background: #4DA57F;
    color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(77, 165, 127, 0.25);
}

.sa-save-button:hover {
    background: #438f70;
}

.sa-save-button i {
    margin-right: 7px;
}
