/* Merriweather Black Font Styles */
.merriweather-black {
    font-family: "Merriweather", system-ui;
    font-weight: 900;
    font-style: normal;
}

.merriweather-black-italic {
    font-family: "Merriweather", system-ui;
    font-weight: 900;
    font-style: italic;
}

/* General Body Styling */
body {
    font-family: 'Merriweather', serif;
    margin: 20px;
}

h1, h2 {
    font-family: "Merriweather", system-ui; /* Apply Merriweather font */
    font-weight: 900;
}

h1 {
    font-size: 35px;
    color: #0d7dd4;
    margin-bottom: 20px;
}

h2 {
    font-size: 25px;
    color: #0d7dd4;
    margin-bottom: 20px;
}

input, button {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
}

input {
    border: 5px solid #0d7dd4; /* Default blue border */
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: white; /* Initial background color */
}

input:hover {
    background-color: white; /* Light background on hover */
}

input:focus {
    border-color: #0d7dd4; /* Ensure border stays blue on focus */
    box-shadow: 0 0 10px rgba(13, 125, 212, 0.5);  /* Soft blue glow on focus */
    background-color: #e6f5ff;
}

input:hover,
input:focus {
    border-color: #0d7dd4; /* Ensure the border color stays blue on hover and focus */
}

button {
    cursor: pointer;
    background-color: #0d7dd4;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}

button:hover {
    background-color: #0b6fbb;
}

/* Results Section Styling */
#results {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background-color: #f0fdf9;
    border: 2px solid #0d7dd4;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#results.show {
    opacity: 1;
    transform: scale(1);
}

/* Result Styling for Detailed Breakdown */
#rentVsBuyResult h3, #rentVsBuyResult h4 {
    color: #0d7dd4; /* Match heading color */
}

#rentVsBuyResult ul {
    list-style-type: none; /* Remove bullet points */
    padding-left: 0; /* Remove padding */
}

#rentVsBuyResult li {
    padding: 5px 0; /* Add space between list items */
    font-size: 18px; /* Adjust font size for readability */
    color: #333; /* Darker text color */
}

.input-group {
    margin-bottom: 20px;
}

#results p {
    letter-spacing: 2px;
    word-spacing: 4px;
    font-size: 18px;
    color: #333;
}
