/* mortgage-calculator.css */

body {
    font-family: "Outfit", sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 20px;
}
.container {
    background-color: #ffffff;
    padding: 30px;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.input-container {
    flex: 1;
    min-width: 280px;
}
h1 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}
label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #333;
}
input, select, button {
    width: 75%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.btn-calculate {
    width: 75%;
    padding: 15px;
    display: block;
    margin: auto;
    margin-top: 20px;
    background: #00F0E1;
    color: #00435F !important;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.result {
    background-color: rgb(217, 255, 252);
    padding: 15px;
    border-radius: 6px;
    border-left: 5px solid #00F0E1;
    font-size: 16px;
    margin-top: 10px;
    color: #00435F !important;
}
.error {
    color: red;
    font-weight: bold;
}
@media (max-width: 800px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    h1 {
        font-size: 20px;
    }
}
.chart-container {
    flex: 1;
    min-width: 280px;
    position: relative;
    height: 500px; /* Adjust height as needed */
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}
.disclaimer {
    margin-top: 20px;
    font-size: 0.6rem;
    color: #555;
    width: 100%;
}
.hvr-grow {
    display: inline-block;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}