:root {
    --primary-red: black;
    --primary-yellow: pink;
    --primary-green: grey;
    --dark: #bd1d1d;
    --light: #0fb41d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: silver;
    background-image: maroon;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 90%;
    text-align: center;
    border-top: 8px solid var(--primary-green);
}

h1 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    /* Ensures padding doesn't affect width */
}

.radio-group {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

button {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background 0.3s;
}

button[onclick] {
    background-color: blue;
    color: white;
}

button[type="reset"] {
    background-color: transparent;
    color: #888;
    font-size: 0.8rem;
}

button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

#result-container {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ed;
    border-radius: 8px;
    border-left: 5px solid var(--primary-green);
}

#result {
    color: var(--primary-green);
    font-size: 1.1rem;
}