.zarand-loan-calculator {
    position: relative;
    padding: 28px 32px;
    border-radius: 24px;
    background: var(--zlc-bg, #f5f7fa);
    max-width: 560px;
    margin: 0 auto;
    box-shadow:
        0 24px 40px rgba(12, 30, 77, 0.1),
        0 2px 6px rgba(12, 30, 77, 0.06);
    overflow: hidden;
}

.zarand-loan-calculator::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 55%);
    pointer-events: none;
}

.zarand-loan-calculator > * {
    position: relative;
    z-index: 1;
}

.zlc-slider {
    margin-bottom: 26px;
}

.zlc-slider label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--zlc-text, #0f172a);
    margin-bottom: 14px;
    font-size: 1rem;
}

.zlc-slider label span {
    font-weight: 500;
    color: var(--zlc-accent, #0a84ff);
}

.zlc-input,
input[type="range"] {
    width: 100%;
}

input[type="range"] {
    -webkit-appearance: none;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    outline: none;
    transition: background 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--zlc-accent, #0a84ff);
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.35);
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--zlc-accent, #0a84ff);
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.05);
}

.zlc-results {
    background: var(--zlc-surface, #ffffff);
    border-radius: 20px;
    padding: 24px 28px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin: 28px 0 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.zlc-result-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zlc-label {
    color: var(--zlc-muted, #3c4a5d);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.zlc-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--zlc-text, #0f172a);
}

.zlc-summary {
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--zlc-muted, #3c4a5d);
    margin-bottom: 28px;
}

.zlc-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)) padding-box,
        var(--zlc-button-bg, #0a84ff) border-box;
    color: var(--zlc-button-text, #ffffff);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 12px 24px rgba(10, 132, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zlc-contact::after {
    content: '>';
    font-size: 1.4rem;
    line-height: 1;
    color: inherit;
    transform: translateY(-1px);
}

.zlc-contact:hover,
.zlc-contact:focus {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 16px 30px rgba(10, 132, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: var(--zlc-button-text, #ffffff);
}

@media (max-width: 600px) {
    .zarand-loan-calculator {
        padding: 22px;
        border-radius: 20px;
    }

    .zlc-results {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
