.fd-calculator-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    
    margin: 20px auto;
}

h1 {
    text-align: center;
	font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

input[type="number"],
select {
    width: calc(80% - 22px);
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") no-repeat right 10px center;
    padding-right: 30px;
}

.term-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 18px;
}

.term-duration label {
    margin-bottom: 0;
}

.term-duration input[type="number"],
.term-duration select {
    width: calc(80% - 22px);
	  flex: 1;
    margin-bottom: 0;
}

button {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 20px;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(to right, #0056b3, #007bff);
}

.results {
    margin-top: 25px;
}

.result {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
    font-size: 18px;
}

@media (max-width: 400px) {
    .fd-calculator-container {
        padding: 20px;
    }

    input[type="number"],
    select,
    button {
        font-size: 14px;
        padding: 10px;
    }

    .result {
        font-size: 16px;
    }
}