/* =========================================================
   EMI.CSS - Page Specific Styles for EMI Calculator
========================================================= */

.emi-header {
    color: var(--primary-dark, #1b365d);
}

.emi-card {
    border-radius: 12px;
    border: 1px solid #eaeaea;
}

/* Stylish Dark Output Card matching footer/brand */
.emi-result-card {
    background: linear-gradient(135deg, #122543 0%, #1b365d 100%);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(27, 54, 93, 0.15);
}

.emi-result-card .text-muted {
    color: #b0c4de !important;
}

.emi-value-highlight {
    color: #fca311;
    font-weight: 700;
}

/* Custom Range Slider */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
    margin-top: 15px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fca311;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.custom-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fca311;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.form-control-amount {
    border: 1px solid #b0c4de;
    font-weight: 600;
    color: #1b365d;
    background-color: #f8f9fa;
}

.form-control-amount:focus {
    border-color: #fca311;
    box-shadow: 0 0 0 0.25rem rgba(252, 163, 17, 0.25);
    background-color: #ffffff;
}

.chart-container {
    position: relative;
    height: 220px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.details-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.details-row:last-child {
    border-bottom: none;
}