﻿:root {
    --navy-800: #1b2f5c;
    --blue-600: #2451a3;
    --blue-500: #3062bd;
    --blue-50: #eaf1fc;
    --bg: #f2f4f8;
    --paper: #ffffff;
    --ink: #1b2436;
    --ink-soft: #5b6478;
    --line: #e1e5ee;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}


/* =========================================================
   GLAVNA KARTICA
   ========================================================= */

.card2 {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 100%;
}

.info-card2 {
    padding: 12px 16px 12px;
}


/* =========================================================
   NASLOVI
   ========================================================= */

.info-title {
    font-size: 15px;
    font-weight: 700;
    color: #1b2f5c !important;
    margin: 0 0 4px;
}

.info-sub {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 0 0 9px;
}


/* =========================================================
   SEKCIJE
   ========================================================= */

.info-section {
    margin-bottom: 8px;
}

    .info-section:last-child {
        margin-bottom: 0;
    }

    .info-section h3,
    .card.info-card .info-section h3 {
        font-size: 12.5px;
        font-weight: 700;
        color: #1b2f5c !important;
        margin: 0 0 4px;
    }

    .info-section p {
        font-size: 12px;
        line-height: 1.4;
        color: var(--ink);
        margin: 0 0 4px;
    }


/* =========================================================
   FORMULA BOX
   ========================================================= */

.formula-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--blue-50);
    border-radius: 8px;
    padding: 6px 12px;
    margin: 6px 0 8px;
}

    .formula-box .part {
        font-size: 12.5px;
        font-weight: 700;
        color: #1b2f5c !important;
    }

    .formula-box .op {
        font-size: 13px;
        color: #2451a3 !important;
        font-weight: 700;
    }


/* =========================================================
   LISTE
   ========================================================= */

.info-list {
    margin: 0;
    padding-left: 16px;
}

    .info-list li {
        font-size: 12px;
        line-height: 1.4;
        color: var(--ink);
    }

        .info-list li b {
            color: #1b2f5c !important;
        }


/* =========================================================
   PRIMER OBRACUNA
   ========================================================= */

.example-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2px;
}

.example-head {
    background: #f7f9fc;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}

    .example-head b {
        color: #1b2f5c !important;
    }

.ex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

    .ex-row:last-child {
        border-bottom: none;
    }

    .ex-row .k {
        color: var(--ink-soft);
    }

    .ex-row .v {
        font-weight: 600;
        color: var(--ink);
        font-variant-numeric: tabular-nums;
    }

    .ex-row.sub .k {
        padding-left: 12px;
    }

    .ex-row.total {
        background: var(--blue-50);
    }

        .ex-row.total .k {
            font-weight: 700;
            color: #1b2f5c !important;
        }

        .ex-row.total .v {
            font-weight: 700;
            color: #2451a3 !important;
            font-size: 13px;
        }

.ex-note {
    font-size: 10.5px;
    color: var(--ink-soft);
    padding: 5px 12px;
    background: #fafbfc;
}


/* =========================================================
   DVE KOLONE
   ========================================================= */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
}

@media (max-width: 560px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.mini-box {
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 7px 10px;
}

    .mini-box .k {
        font-size: 10.5px;
        font-weight: 700;
        color: #1b2f5c !important;
        text-transform: uppercase;
        letter-spacing: .03em;
        margin-bottom: 3px;
    }

    .mini-box p {
        font-size: 11.5px;
        color: var(--ink-soft);
        line-height: 1.35;
        margin: 0;
    }


/* =========================================================
   LINK
   ========================================================= */

.info-link {
    font-size: 12px;
    color: var(--ink);
    margin: 7px 0 0;
    padding-top: 7px;
    border-top: 1px solid var(--line);
}

    .info-link a {
        color: #2451a3 !important;
        font-weight: 600;
        text-decoration: none;
    }

        .info-link a:hover {
            text-decoration: underline;
        }


/* =========================================================
   DISCLAIMER
   ========================================================= */

.disclaimer {
    font-size: 10.5px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding-top: 6px;
    margin-top: 8px;
    font-style: italic;
}
