* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #e6f2f7;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.calculator-container {
    display: flex;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

.form-section {
    flex: 1;
    padding: 40px;
}

.results-section {
    flex: 1;
    background-color: #1a333d;
    color: white;
    padding: 40px;
    position: relative;
    border-radius: 0 20px 20px 60px;
}

h2 {
    font-size: 24px;
    color: #1a333d;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-btn {
    font-size: 14px;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.input-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: #4a6672;
    margin-bottom: 10px;
    font-size: 16px;
}

.input-wrapper {
    position: relative;
    display: flex;
}

input, select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 16px;
}

.percentage-symbol {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 16px;
}

.suffix {
    width: 100px;
    text-align: center;
    padding: 15px;
    background-color: #e9f6fa;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #4a6672;
}

.currency-input {
    padding-left: 30px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}

.radio-option.selected {
    background-color: #f9f8d0;
    border-color: #e8e7a6;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #aaa;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-option.selected .radio-circle {
    border-color: #d5d349;
}

.radio-option.selected .radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #d5d349;
    border-radius: 50%;
    position: absolute;
}

.radio-option-text {
    color: #333;
    font-size: 16px;
}

.calculate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #e0e248;
    color: #333;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    max-width: 250px;
}

.calculate-btn:hover {
    background-color: #d5d740;
}

.results-title {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
}

.results-description {
    color: #a7b8c0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.result-box {
    background-color: #23424e;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.monthly-label {
    color: #a7b8c0;
    font-size: 14px;
    margin-bottom: 10px;
}

.monthly-amount {
    font-size: 42px;
    font-weight: bold;
    color: #e0e248;
}

.total-label {
    color: #a7b8c0;
    font-size: 14px;
    margin-bottom: 10px;
}

.total-amount {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.calculator-icon {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .calculator-container {
        flex-direction: column;
    }
    
    .results-section {
        border-radius: 0 0 20px 20px;
    }
}