/* =========================================================
   NOVO AUTO - Simulator Finantare
========================================================= */

.novo-fin-wrap {
    background: linear-gradient(
        180deg,
        rgba(18,22,30,.72) 0%,
        rgba(7,9,13,.97) 100%
    );
    border: 1px solid #FFFFFF17;
    border-radius: 16px;
    padding: 24px 22px 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 16px 48px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.06);
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

/* TITLU */
.novo-fin__title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -.02em;
    line-height: 1.2;
}

/* GROUP */
.novo-fin__group {
    margin-bottom: 18px;
}

/* LABEL ROW */
.novo-fin__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255,255,255,.6);
    font-size: 13px;
    font-weight: 400;
}

.novo-fin__avans-val {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
}

/* SLIDER WRAP */
.novo-fin__slider-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* RANGE SLIDER */
.novo-fin__slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(
        to right,
        #A70E16 0%,
        #A70E16 var(--fill, 43%),
        rgba(255,255,255,.15) var(--fill, 43%),
        rgba(255,255,255,.15) 100%
    );
}

.novo-fin__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    transition: transform .15s ease;
}

.novo-fin__slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.novo-fin__slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* BUTON SAGEATA SLIDER */
.novo-fin__slider-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #FFFFFF17;
    background: rgba(255,255,255,.07);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s ease;
    padding: 0;
    line-height: 1;
}

.novo-fin__slider-btn:hover {
    background: #A70E16;
    border-color: #A70E16;
}

/* PERIOADE */
.novo-fin__periods {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.novo-fin__period {
    flex: 1;
    min-width: 0;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #FFFFFF17;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    padding: 0 6px;
}

.novo-fin__period:hover {
    border-color: rgba(167,14,22,.4);
    color: #ffffff;
}

.novo-fin__period.active {
    background: #A70E16;
    border-color: #A70E16;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(167,14,22,.35);
}

/* SEPARATOR */
.novo-fin__sep {
    height: 1px;
    background: #FFFFFF17;
    margin: 18px 0;
}

/* REZULTATE */
.novo-fin__results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.novo-fin__result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.novo-fin__result-row span {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    font-weight: 400;
}

.novo-fin__result-row strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

/* BUTON FINAL */
.novo-fin__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: #A70E16;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: 10px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .25s ease;
    box-shadow: 0 8px 24px rgba(167,14,22,.35);
}

.novo-fin__btn:hover {
    background: #8a0b12;
    box-shadow: 0 10px 30px rgba(167,14,22,.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .novo-fin__period {
        font-size: 11px;
        height: 34px;
    }
}
