/* Calculator Shared Styles */
.pie-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    transition: background 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pie-circle::after {
    content: '';
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}

/* Car Planning Calculator Styles */
.car-section {
    padding: 60px 0;
    background: #f8fafd;
}

.car-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.car-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #10346e;
}

.car-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.car-left-box {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.car-field {
    margin-bottom: 25px;
}

.car-field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.car-field-label span {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.car-field-input {
    width: 110px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: #f9fbfb;
    border-radius: 6px;
    text-align: right;
    font-weight: 700;
    color: #10346e;
    outline: none;
}

.car-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.car-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.car-results {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.car-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-result-value {
    font-size: 18px;
    font-weight: 800;
    color: #10346e;
}

.car-right-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.car-chart-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1.5px solid #10346e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.car-chart-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.car-pie-wrap {
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-bar-wrap {
    height: 300px;
    position: relative;
}

.car-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.car-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.car-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.dot-current {
    background: #10346ed4;
}

.dot-future {
    background: #d5b046;
}

@media (max-width: 991px) {
    .car-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .car-pie-circle {
        width: 180px;
        height: 180px;
    }

    .car-bar-wrap {
        height: 220px;
    }
}

/* EMI Planning Calculator Styles */
.emi-chart-box {
    border: 1.5px solid #10346e !important;
}

.emi-bar-wrap {
    height: 300px;
    position: relative;
}

.emi-pie-wrap {
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot-principal {
    background: #10346e;
}

.dot-interest {
    background: #d5b046;
}