* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8fb;
    color: #17365d;
}

/* =========================
   WRAPPER
========================= */

.risk-calculator {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.risk-calculator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, .95fr);
    gap: 16px;
    align-items: stretch;
}

/* =========================
   COMMON CARD
========================= */

.risk-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(27, 75, 105, .08);
    overflow: hidden;
}

/* =========================
   INPUT CARD
========================= */

.risk-input-card {
    padding: 20px;
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.risk-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, #d9fff7, #b7f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #075675;
    flex: 0 0 46px;
}

.risk-header-icon svg {
    width: 25px;
    height: 25px;
}

.risk-header h1 {
    margin: 0 0 4px;
    font-size: 23px;
    line-height: 1.2;
    color: #173b62;
    font-weight: 700;
}

.risk-header p {
    margin: 0;
    font-size: 12px;
    color: #7890a8;
}

/* =========================
   SECTION
========================= */

.risk-section {
    border: 1px solid #d9e9f5;
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 12px;
}

.risk-section:last-child {
    margin-bottom: 0;
}

.risk-section-title {
    min-height: 34px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(
        90deg,
        #edf7ff 0%,
        #f5fbff 100%
    );
    border-bottom: 1px solid #e0edf6;
    color: #12567c;
    font-size: 14px;
    font-weight: 700;
}

.risk-section-title svg {
    width: 17px;
    height: 17px;
}

.risk-section-content {
    padding: 14px 16px;
}

/* =========================
   FORM GRID
========================= */

.risk-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 11px;
}

.risk-form-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.risk-form-label {
    color: #1d3b5d;
    font-size: 12px;
    font-weight: 600;
}

.risk-control {
    display: flex;
    gap: 6px;
    min-width: 0;
}

.risk-input,
.risk-select {
    width: 100%;
    height: 32px;
    border: 1px solid #d5e2ec;
    border-radius: 6px;
    background: #fff;
    color: #203e60;
    font-size: 12px;
    outline: none;
    transition: .2s ease;
}

.risk-input {
    padding: 0 9px;
    min-width: 0;
}

.risk-select {
    padding: 0 26px 0 8px;
    cursor: pointer;
    /* flex: 1; */
}

.risk-input::placeholder {
    color: #a7b8c7;
}

.risk-input:focus,
.risk-select:focus {
    border-color: #28a9d5;
    box-shadow: 0 0 0 3px rgba(40, 169, 213, .10);
}

.risk-unit {
    width: 90px;
    flex: 0 0 90px;
}

/* =========================
   RADIO
========================= */

.risk-radio-group {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 32px;
}

.risk-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #304d6d;
    font-size: 12px;
    cursor: pointer;
}

.risk-radio input {
    appearance: none;
    width: 13px;
    height: 13px;
    border: 1.5px solid #b7c7d5;
    border-radius: 50%;
    margin: 0;
    position: relative;
    cursor: pointer;
}

.risk-radio input:checked {
    border-color: #1298f3;
}

.risk-radio input:checked::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: #1298f3;
    top: 2.5px;
    left: 2.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =========================
   MEDICAL HISTORY
========================= */

.risk-history-list {
    display: flex;
    flex-direction: column;
}

.risk-history-row {
    min-height: 38px;
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    border-bottom: 1px solid #edf2f6;
}

.risk-history-row:last-child {
    border-bottom: 0;
}

.risk-history-label {
    font-size: 12px;
    font-weight: 600;
    color: #1d3b5d;
}

/* =========================
   OPTIONAL INPUTS
========================= */

.risk-optional-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 40px;
    border-bottom: 1px solid #edf2f6;
}

.risk-optional-row:last-child {
    border-bottom: 0;
}

.risk-optional-label {
    font-size: 12px;
    font-weight: 600;
    color: #1d3b5d;
}

/* =========================
   RESULTS
========================= */

.risk-result-card {
    position: relative;
    padding: 22px 20px;
    background:
        linear-gradient(
            135deg,
            #087d8b 0%,
            #0b8d8b 50%,
            #20b9a9 100%
        );
    color: #fff;
    min-height: 100%;
}

.risk-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.risk-result-header svg {
    width: 28px;
    height: 28px;
    stroke: #d9ffff;
}

.risk-result-header h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 700;
}

/* =========================
   NOTICE
========================= */

.risk-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    color: #fff;
    margin-bottom: 15px;
    font-size: 11px;
}

.risk-notice svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.risk-notice strong {
    font-weight: 700;
}

/* =========================
   RESULT BODY
========================= */

.risk-result-body {
    background: rgba(0, 44, 57, .42);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    padding: 20px 20px 16px;
}

.risk-result-group {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.risk-result-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.risk-result-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 148px 110px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
}

.risk-result-label {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 600;
    color: #f5ffff;
}

.risk-result-label svg {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    stroke: #c7ffff;
}

.risk-result-value {
    height: 36px;
    border: 1px solid rgba(110, 225, 232, .5);
    border-radius: 8px;
    background: rgba(0, 61, 72, .35);
    color: #fff;
    outline: none;
    padding: 0 10px;
    font-size: 13px;
    min-width: 0;
}

.risk-result-unit {
    font-size: 12px;
    font-weight: 600;
    color: #f0ffff;
}

.risk-result-select {
    height: 36px;
    width: 100%;
    border: 1px solid rgba(110, 225, 232, .5);
    border-radius: 8px;
    background: rgba(0, 61, 72, .35);
    color: #fff;
    padding: 0 8px;
    font-size: 12px;
    outline: none;
}

.risk-result-select option {
    color: #17365d;
    background: #fff;
}

/* =========================
   PRECISION
========================= */

.risk-precision {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 140px;
    gap: 12px;
    align-items: center;
    min-height: 42px;
}

.risk-precision-label {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    font-weight: 600;
}

.risk-precision-label svg {
    width: 22px;
    height: 22px;
}

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

@media (max-width: 1100px) {

    .risk-calculator-grid {
        grid-template-columns: 1fr;
    }

    .risk-result-card {
        min-height: auto;
    }

    .risk-result-row {
        grid-template-columns: minmax(150px, 1fr) 135px 100px;
    }
}

@media (max-width: 750px) {

    .risk-calculator {
        padding: 13px;
    }

    .risk-input-card,
    .risk-result-card {
        padding: 15px;
    }

    .risk-header h1,
    .risk-result-header h2 {
        font-size: 18px;
    }

    .risk-header p {
        display: none;
    }

    .risk-form-grid {
        grid-template-columns: 1fr;
    }

    .risk-form-row {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .risk-history-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 10px 0;
    }

    .risk-optional-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 9px 0;
    }

    .risk-result-body {
        padding: 13px;
    }

    .risk-result-row {
        grid-template-columns: 0.9fr 0.5fr 0.5fr;
        gap: 6px;
        padding: 9px 0;
    }

    .risk-result-value,
    .risk-result-select {
        width: 100%;
    }

    .risk-precision {
        grid-template-columns: 1fr;
        gap: 7px;
        padding-top: 9px;
    }
}

@media (max-width: 480px) {

    .risk-form-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .risk-control {
        width: 100%;
    }

    .risk-unit {
        width: 50%;
        flex-basis: 50%;
    }

    .risk-radio-group {
        min-height: 28px;
    }

    .risk-header {
        align-items: flex-start;
    }

    .risk-header-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }
}
header.py-3 {
    display: none;
}
.risk-footer button {
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

.risk-footer {
    text-align: right;
}
@media (max-width: 767px){
    #button-contact-vr {
        display: none;
    }
}
input.error {
    border-color: red;
}

/*input {*/
/*    background: url('data:image/svg+xml,<svg width="18px" height="18px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path clip-rule="evenodd" d="m12.9142 4.93166c-.582-.25878-1.2464-.25878-1.8284 0-.2563.11399-.5527.37096-.9824.97763-.42756.60357-.91911 1.45111-1.60837 2.64165l-2.67466 4.61986c-.69171 1.1948-1.1838 2.0462-1.49543 2.7199-.3133.6772-.38859 1.0632-.35946 1.3426.06616.6346.39864 1.2113.9147 1.5865.22717.1652.59901.2935 1.34207.3616.7391.0678 1.72253.0686 3.1031.0686h5.34935c1.3805 0 2.364-.0008 3.1031-.0686.743-.0681 1.1149-.1964 1.342-.3616.5161-.3752.8486-.9519.9147-1.5865.0292-.2794-.0461-.6654-.3594-1.3426-.3117-.6737-.8037-1.5251-1.4955-2.7199l-2.6746-4.61987c-.6893-1.19054-1.1808-2.03807-1.6083-2.64165-.4297-.60666-.7262-.86363-.9825-.97762zm-2.4378-1.37061c.9699-.4313 2.0773-.4313 3.0472 0 .6333.28158 1.1226.81126 1.5971 1.48123.4721.66645.9975 1.5741 1.6626 2.72281l.0198.03429 2.6747 4.61982.0198.0343c.6675 1.1529 1.1949 2.0638 1.5388 2.8073.3458.7473.5621 1.4373.4901 2.128-.1103 1.0577-.6645 2.0188-1.5246 2.6442-.5616.4084-1.2671.5669-2.0871.6422-.8158.0748-1.8683.0748-3.2005.0748h-.0396-5.34935-.0396c-1.33223 0-2.38471 0-3.20054-.0748-.81995-.0753-1.52545-.2338-2.08715-.6422-.86009-.6254-1.41423-1.5865-1.5245-2.6442-.07201-.6907.14429-1.3807.49001-2.128.34399-.7435.87132-1.6543 1.53882-2.8073l.01984-.0343 2.67466-4.61982.01983-.03424c.66505-1.14874 1.19053-2.0564 1.66258-2.72286.47455-.66997.96384-1.19965 1.5971-1.48123zm1.5236 5.18894c.4142 0 .75.33579.75.75v3.50001c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-3.50001c0-.41421.3358-.75.75-.75zm0 6.25001c-.5523 0-1 .4477-1 1s.4477 1 1 1h.01c.5523 0 1-.4477 1-1s-.4477-1-1-1z" fill="%23ff0000" fill-rule="evenodd"></path></g></svg>');*/
/*    background-repeat: no-repeat;*/
/*    background-position: center right 5px!Important;*/
/*}*/
/*1*/
