.leasing-calc {
    padding: 56px 0 64px;
}

.leasing-calc__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 28px;
}

.leasing-calc__title {
    font-size: 30px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 10px;
}

.leasing-calc__subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Tabs */
.leasing-calc__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.leasing-calc__tab {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .leasing-calc__tab:hover {
        border-color: #cbd5e1;
    }

    .leasing-calc__tab.is-active {
        background: #0a0a0a;
        color: #fff;
        border-color: #0a0a0a;
    }

/* Panels */
.leasing-calc__panel {
    display: none;
}

    .leasing-calc__panel.is-active {
        display: block;
    }

.leasing-calc__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Form card */
.leasing-calc__form-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    background: #fff;
}

.leasing-calc__form-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0a0a0a;
}

.leasing-calc__form-sub {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 22px;
}

.leasing-calc__field {
    margin-bottom: 18px;
}

.leasing-calc__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.leasing-calc__optional {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
}

.leasing-calc__input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .leasing-calc__input::placeholder {
        color: #b6bcc6;
    }

    .leasing-calc__input:focus {
        border-color: #36c7f3;
        box-shadow: 0 0 0 3px rgba(54, 199, 243, 0.15);
    }

/* Slider */
.leasing-calc__slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leasing-calc__slider-value {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    white-space: nowrap;
}

.leasing-calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  box-sizing: border-box;
  /* razmak izmedu krajnjih vrijednosti i rubova slidera */
  padding: 0 12px;
  background-color: #e5e7eb;
  background-image: linear-gradient(90deg, #00ccff 0%, #80ceaa 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  outline: none;
  margin-top: 6px;
}

    .leasing-calc__slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #36c7f3;
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    .leasing-calc__slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #36c7f3;
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

/* Submit (form) */
.leasing-calc__submit {
    width: fit-content;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: filter 0.2s ease, transform 0.2s ease;
    padding: 14px 40px;
}

    .leasing-calc__submit:hover {
        filter: brightness(0.92);
        transform: translateY(-1px);
    }

/* Result card */
.leasing-calc__result-card {
    border-radius: 16px;
    padding: 28px;
    background: #d9ece1;
    display: flex;
    flex-direction: column;
}

.leasing-calc__result-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4b5563;
}

.leasing-calc__result-value {
    font-size: 40px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 6px 0 12px;
    line-height: 1.1;
}

.leasing-calc__result-unit {
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0a;
}

.leasing-calc__result-note {
    font-size: 12px;
    color: #4b5563;
    margin: 0 0 18px;
    line-height: 1.5;
}

.leasing-calc__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leasing-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #374151;
}

.leasing-calc__row-value {
    font-weight: 700;
    color: #0a0a0a;
    white-space: nowrap;
}

.leasing-calc__result-foot {
    font-size: 11px;
    color: #6b7280;
    margin: 14px 0 0;
    line-height: 1.5;
}

.leasing-calc__cta-primary {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

    .leasing-calc__cta-primary:hover {
        filter: brightness(0.92);
        transform: translateY(-1px);
    }

.leasing-calc__cta-secondary {
    width: 100%;
    height: 50px;
    border: 1px solid #cbd5cf;
    border-radius: 10px;
    background: #fff;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .leasing-calc__cta-secondary:hover {
        background: #f3f4f6;
        transform: translateY(-1px);
    }

@media screen and (max-width: 991px) {
    .leasing-calc__grid {
        grid-template-columns: 1fr;
    }

    .leasing-calc__title {
        font-size: 24px;
    }
}
