body {
    opacity: 1;
    background: #f6f6f6 !important;
}

.kpr-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'SF Pro Display', Arial, sans-serif;
    padding: 10px;
    background-color: #fff;
}

.kpr-calculator-container h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
    text-align: left;
    margin-left: 15px;
}

/* Result Header */
.result-header {
    margin: 15px;
    margin-bottom: 10px;
    text-align: left;
}

.result-header label {
    font-size: 16px;
    display: block;
    font-weight: bold;
    color: #262626;
}

/* Result */
.result-container {
    background-color: #e8f8fa;
    border-radius: 12px;
    padding: 20px;
    text-align: right;
}

.monthly-payment {
    margin-bottom: 0;
    width: 100%;
}

.payment-amount {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #1e7a78;
    text-align: right;
    line-height: 1.1;
}

.rate-display {
    text-align: right;
    margin-bottom: 20px;
}

.rate-display-external {
    text-align: right;
    margin: 15px;
    margin-top: 10px;
}

.rate-display-external .rate-label {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: bold;
}

.rate-display-external .rate-value {
    font-size: 18px;
    font-weight: bold;
    color: #1e7a78;
    display: block;
}

.rate-label {
    display: block;
    font-size: 16px;
    color: #262626;
    margin-bottom: 2px;
}

.rate-value {
    font-size: 16px;
    font-weight: bold;
    color: #1e7a78;
}

/* Form */
.calculator-form {
    margin: 15px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control-kpr {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 16px;
    padding: 12px 0;
    background: transparent;
    color: #333;
    font-weight: 500;
}

.form-control-kpr:focus {
    outline: none;
    border-bottom: 2px solid #1e7a78;
}

.form-control-kpr::placeholder {
    color: #bbb;
    font-weight: normal;
}

/* Input values styling */
.form-control-kpr[type="text"],
.form-control-kpr[type="number"] {
    color: #666;
    font-weight: 500;
}

/* Repayment Type Styling */
.repayment-type-container .form-control-kpr {
    color: #2fbdd3;
    font-weight: 600;
}

.repayment-type-hint small {
    color: #FF9800;
    font-size: 12px;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

/* With A Section Styling */
.with-a-container .form-control-kpr {
    color: #2fbdd3;
    font-weight: 600;
    margin-bottom: 5px;
}

.with-a-hint small {
    color: #FF9800;
    font-size: 12px;
    font-style: italic;
    display: block;
    margin-bottom: 10px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-home-loan,
.btn-interest-rate {
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #2fbdd3;
    background: transparent;
    color: #2fbdd3;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-home-loan.active,
.btn-interest-rate.active {
    background: #2fbdd3;
    color: white;
}

.btn-home-loan:hover,
.btn-interest-rate:hover {
    background: #2fbdd3;
    color: white;
}

/* Repayment Frequency Styling */
.repayment-frequency-container .form-control-kpr {
    color: #2fbdd3;
    font-weight: 600;
}

.repayment-frequency-hint small {
    color: #FF9800;
    font-size: 12px;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

/* Interest Rate Input Styling */
.interest-rate-input-container {
    position: relative;
}

.interest-rate-input {
    padding-right: 60px !important;
}

.interest-rate-suffix {
    position: absolute;
    right: 0;
    bottom: 12px;
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

.interest-rate-option {
    margin-top: 8px;
}

.interest-rate-link {
    color: #2fbdd3;
    text-decoration: none;
    font-size: 14px;
}

.interest-rate-link:hover {
    text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
    margin: 0 15px 15px;
    text-align: left;
}

.disclaimer p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* Loan Selection Section */
.loan-selection-section {
    margin: 0 15px 20px;
}

.loan-selection-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #444;
    text-align: left;
    margin-left: 0;
}

.bank-options {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.bank-option {
    min-width: 120px;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 15px 10px;
    background: #fff;
    text-align: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bank-option.active {
    border: 2px solid #1e7a78;
    background-color: #f0f9fa;
}

.bank-option:hover {
    border-color: #1e7a78;
    background-color: #f8fffe;
}

.bank-logo {
    font-size: 24px;
    margin-bottom: 8px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-name {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

.bank-option.active .bank-name {
    color: #1e7a78;
    font-weight: 600;
}

/* Legacy Bank Section - keep for compatibility */
.bank-interest-section {
    margin: 0 15px 20px;
}

.bank-interest-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
    text-align: left;
}

.bank-rate {
    font-size: 12px;
    color: #0066cc;
    font-weight: 600;
}

#kprCalculatorForm label,
#repaymentCalculatorForm label {
    text-align: left;
}

.slide-value {
    text-align: right;
    margin-top: 5px;
}
