﻿:root {
    --bg: #E8EBF7;
    --card: #F8FAFC;
    --text: #111827;
    --muted: #253264;
    --accent: #3b82f6;
    --danger: #ef4444;
    --border: #1f2937;
}

* {
    box-sizing: border-box;
}

html, body {
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
    min-height: 100%;
}

#app-root {
    min-height: 560px; 
}

.page-margin {
    margin: 80px 112px;
}

.text-heading {
    font-size: 64px;
    font-weight: 700;
    line-height: 80px;
    letter-spacing: -0.25px;
}

.text-heading-large {
    font-size: 40px;
    font-weight: 600;
    line-height: 56px;
    letter-spacing: -0.02px;
}

.text-heading-regular {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.02px;
}
.intro-card{
    padding:24px;
    gap:32px;
}
.card {
    position: relative;
    background: var(--card);
    border-radius: 24px;
    padding: 64px 48px;
    gap: 48px;
}

.card-badge {
    position: relative;
    width:268px;
    height:68px;
    color: #064553;
    background-color: #E5F1CC;
    border-radius: 8px;
    padding:16px;
    text-align:center;
}
span{
    font-weight:600;
    font-size:24px;
    line-height:36px;
}
.hidden {
    display: none !important;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0px 24px;
    border-radius: 8px;
    border-color: #BBBBBB;
    background-color: #F8FAFC;
}

label {
    font-weight: 600;
}

.required {
    color: var(--danger);
    margin-left: 4px;
}
input[type="number"],
input[type="text"],
select {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #F8FAFC;
    border: 1px solid #BBBBBB;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    input:focus,
    select:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
    }

.hint {
    color: var(--muted);
    font-size: 0.85rem;
}


.form-actions {
    display: flex;
    gap: 10px;
    width:100%;
}

    .form-actions .btn {
        flex: 1 1 50%;
        text-align: center;
    }

.btn {
    background: #253264;
    color: #F8FAFC;
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.02s ease;
}
    .btn:hover {
        background: #1d2750;
        color: #F8FAFC;
        border-color: #3b476a;
        transform: translateY(-1px);
    }

.output-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
}

    .output-row label {
        justify-self: start;
    }

    .output-row .result {
        justify-self: end;
        width: auto;
        min-width: 220px; 
        text-align: right;
    }

.result {
    font-size: 32px;
    line-height: 48px;
    font-weight: 700;
}

.hidden {
    display: none !important;
}


.table-wrapper {
    margin-top: 12px;
    overflow-x: auto;
}
.rounded-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background-color: #F8FAFC;
}

    .rounded-table col.col-a,
    .rounded-table col.col-b {
        width: 50% !important;
    }

    .rounded-table thead th {
        background: #253264;
        color: #F8FAFC;
        font-weight: 600;
        text-align: center;
        padding: 12px;
    }

    .rounded-table tbody td {
        text-align: center;
        padding: 10px 12px;
        border-top: 1px solid var(--border);
    }

    .rounded-table th + th,
    .rounded-table td + td {
        border-left: 1px solid var(--border);
    }

    .rounded-table tbody tr:nth-child(even) {
        background: rgba(255,255,255,0.03);
    }