.calc-credius {
    font-family: "Helvetica Now Display", Sans-serif;
    padding: 40px 0;
}

.calc-credius .calculator-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.calc-credius .calculator-box {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.calc-credius .calculator-inputs {
    flex: 7;
    padding: 40px;
}

.calc-credius .calculator-result {
    flex: 5;
    background: #f8f9fa;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-credius .input-group {
    margin-bottom: 50px;
}

.calc-credius .input-group label {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.calc-credius .value-display {
    color: #e31e24;
    font-style: normal;
    font-size: 24px;
}

.calc-credius .slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.calc-credius .slider-element {
    flex: 1;
}

.calc-credius .arrow-btn {
    width: 30px;
    height: 30px;
    background: #e31e24;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-style: normal;
    user-select: none;
    font-weight: bold;
}

.calc-credius .minmax-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #333;
    margin-top: 10px;
}

.calc-credius .font-min {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: normal;
}

.calc-credius .max-label {
    text-align: right;
}

.calc-credius .result-box {
    text-align: center;
}

.calc-credius .result-label {
    display: block;
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.calc-credius .result-value {
    display: block;
    font-size: 48px;
    color: #e31e24;
    margin-bottom: 20px;
}

.calc-credius .result-disclaimer {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 30px;
}

.calc-credius .apply-button {
    display: inline-block;
    background: #e31e24;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.calc-credius .apply-button:hover {
    background: #c21a1f;
}

.calc-credius .detailed-results {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    display: none;
}

.calc-credius .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #444;
}

.calc-credius .detail-row:last-child {
    border-bottom: none;
}

.calc-credius .detail-row.highlight {
    font-weight: bold;
    color: #e31e24;
}

.calc-credius .detail-row span:last-child {
    font-weight: 600;
}

/* noUiSlider Customization */
.calc-credius .noUi-target {
    background: #e9ecef;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    height: 10px;
}

.calc-credius .noUi-connect {
    background: #e31e24;
}

.calc-credius .noUi-handle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e31e24;
    box-shadow: none;
    cursor: pointer;
    top: -8px;
}

.calc-credius .noUi-handle::before,
.calc-credius .noUi-handle::after {
    display: none;
}

@media (max-width: 768px) {
    .calc-credius .calculator-box {
        flex-direction: column;
    }
    .calc-credius .calculator-inputs,
    .calc-credius .calculator-result {
        flex: none;
        width: 100%;
        padding: 30px;
    }
}
