/* Container Styles */
.calculator-container {
    margin: 0px auto;
    padding: 24px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 500px;
}
.calculator-container h2 {
    display: flex;
    align-items: center;
    font-size: 22px;
    margin-bottom: 24px;
}
.calculator-container h2 img {
    width: 40px;
    margin-right: 10px;
}
.calculator-container p {
    font-size: 14px;
    color: #333;
    margin-bottom: 24px;
}
.calculator-container label {
    font-weight: 400;
    color: #333;
    display: inline-block;
    margin-bottom: 6px;
}
.calculator-container .field-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.calculator-container .field-group input[type="number"] {
    width: 45%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.calculator-container .field-group .fixed-value {
    width: 45%;
    padding: 8px;
    font-size: 14px;
    color: #333;
    text-align: right;
}
.calculator-container .slider-group {
    margin-bottom: 24px;
}
.calculator-container .slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.calculator-container .range-output {
    font-weight: bold;
    font-size: 14px;
}
.calculator-container input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 1px;
    background: #ccc;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background: #344C7A;
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    background: #0072ce;
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"]::-moz-range-track {
    height: 1px;
    background: #ccc;
}
.calculator-container .result {
    margin-top: 25px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}
.calculator-container .result div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}
.calculator-container .result div:last-child {
    border-bottom: none;
}
.calculator-container .result strong {
    color: #000;
}
.calculator-container .apply-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #005ea6;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
}
.calculator-container .apply-button:hover {
    background-color: #004a82;
    color: #fafafa;
}
.calculator-container .disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* Përshtatje për plugin-in ekzistues */
.affordability-calc-form {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 100%;
    margin: 0;
    display: block;
}
.affordability-calc-form > div {
    margin-bottom: 18px;
}
.affordability-calc-form input[type=range] {
    width: 100%;
    margin: 0 0 6px 0;
    accent-color: #344C7A;
    height: 1px;
    background: #ccc;
    border-radius: 4px;
}
.affordability-calc-form input[type=number] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 4px;
    background: #f9f9f9;
}
.affordability-calc-form select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9f9f9;
    margin-bottom: 4px;
}
.ac-results-side {
    margin-top: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 18px 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ac-affordability-percentage {
    font-size: 2.2rem;
    font-weight: 700;
    color: #344C7A;
    text-align: center;
    margin-bottom: 18px;
}
.ac-affordability-percentage small {
    display: block;
    font-size: 0.95rem;
    color: #444;
    font-weight: 400;
    margin-top: 4px;
}
.ac-portability-bar {
    margin-bottom: 18px;
}
.ac-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.98rem;
    color: #666;
    margin-bottom: 4px;
}
.ac-bar-bg {
    background: #e0e0e0;
    border-radius: 6px;
    height: 16px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.ac-bar-fill {
    background: linear-gradient(90deg, #344C7A 60%, #b2dfdb 100%);
    height: 100%;
    border-radius: 6px;
    width: 0%;
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
}
.ac-total-payments {
    margin-top: 18px;
    background: #fff;
    border-radius: 8px;
    padding: 14px 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ac-total-payments > div:first-child {
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 10px;
}
.ac-payments-list > div {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #333;
}
.ac-payments-list > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .calculator-container {
        padding: 12px;
    }
    .affordability-calc-form > div {
        min-width: 100%;
    }
} 