/* Font Families */
body {
    font-family: 'Merriweather', 'Playfair Display', serif;
    margin: 20px;
    background-color: #f4f8fb;
    color: #333;
}

/* Page Header */
h1 {
    font-size: 36px;
    color: #0d7dd4;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

/* Calculator Container Styling */
.calculator-container {
    background: linear-gradient(145deg, #e0f7fa, #ffffff);
    padding: 30px;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease-out;
    border: 2px solid #0d7dd4;
}

/* Input and Select Styling */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

input, select {
    padding: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    border: 2px solid #ddd;
    font-size: 16px;
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    transition: border 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
    border-color: #0d7dd4;
    box-shadow: 0px 5px 15px rgba(13, 125, 212, 0.3);
}

/* Button Styling */
button {
    cursor: pointer;
    background-color: #0d7dd4;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.2s;
    width: 100%;
    max-width: 180px;
    margin: 10px auto;
    display: inline-block;
}

button:hover {
    background-color: #095ba1;
    transform: scale(1.05);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: scale(0.95);
    background-color: #0d7dd4;
}

/* Results Section */
.results-container {
    margin-top: 20px;
    padding: 25px;
    border-radius: 15px;
    background-color: #eef6fd;
    border: 2px solid #0d7dd4;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: space-between;
}

.button-group button {
    width: 48%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Table Styling for Results (if needed) */
.table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    border: 1px solid #0d7dd4;
    text-align: center;
}

th {
    background-color: #0d7dd4;
    color: white;
}

td {
    background-color: white;
    color: #333;
}
