@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

.hnpl-calculator {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f7f7f7;
    font-family: 'Play', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hnpl-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.hnpl-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.hnpl-button {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.hnpl-button:hover {
    background: #005a8d;
}

.hnpl-result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    text-align: center;
}

#repayment-time-label, #deposit-amount-display {
    display: block;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

input[type="range"].hnpl-input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 16px;
    border-radius: 8px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

input[type="range"].hnpl-input:hover {
    opacity: 1;
}

input[type="range"].hnpl-input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0073aa;
    cursor: pointer;
}

input[type="range"].hnpl-input::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0073aa;
    cursor: pointer;
}
