body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f4f4f9, #e0e7ff);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: start;
    min-height: 100vh;
    flex-direction: column;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;

}

form {
    background-color: #fff;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease-out;
    margin: 0 auto;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

select,
input[type="number"],
input[type="date"],
input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    transition: border 0.3s, background 0.3s;
}

select:focus,
input:focus {
    border-color: #5c6ac4;
    background: #fff;
    outline: none;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #5c6ac4;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
}

button:hover {
    background-color: #4b57aa;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

p {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

/* responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    form {
        padding: 20px;
    }
    h2 {
        font-size: 1.5rem;
    }
}