body {
    font-family: 'Merriweather', 'Playfair Display', serif;
    margin: 20px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #333;
}

h1 {
    font-size: 36px;
    color: #0d7dd4;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #0d7dd4;
    margin-bottom: 15px;
    font-size: 22px;
}

input, select, button {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
    padding: 12px;
    font-size: 17px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 30px;
}

input:focus, select:focus {
    box-shadow: 0 0 10px rgba(13, 125, 212, 0.6);
    transform: scale(1.05);
}

button {
    cursor: pointer;
    background: linear-gradient(135deg, #0d7dd4, #3f7db5);
    color: white;
    padding: 12px;
    font-size: 17px;
    border: none;
    border-radius: 30px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #0b6fbb, #2e6a9f);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.results-container {
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
    background-color: #f0fdf9;
    border: 2px solid #0d7dd4;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.results-container.show {
    opacity: 1;
    transform: scale(1);
}

.input-group {
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
}

p {
    line-height: 1.6;
    white-space: pre-wrap; /* Ensure text wraps and spaces are respected */
}
