body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    transition: background-color 0.3s;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #f6d365, #fda085);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-in-out;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    max-width: 400px;
    width: 100%;
}

input,
button {
    margin: 15px;
    padding: 12px 15px;
    width: 240px;
    border: 2px solid #fd7e14;
    border-radius: 10px;
    font-size: 16px;
    color: #0e71d5;
    background-color: #ffffff;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

input:focus {
    outline: none;
    border-color: #ff9f43;
    box-shadow: 0 0 10px rgba(255, 159, 67, 0.5);
    transform: scale(1.05);
}

button {
    cursor: pointer;
    background-color: #fd7e14;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #ff9f43;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 159, 67, 0.5);
}

form:hover {
    background: linear-gradient(135deg, #fda085, #f6d365);
    box-shadow: 0 0 15px rgba(253, 126, 20, 0.5), 0 0 25px rgba(253, 126, 20, 0.4), 0 0 35px rgba(253, 126, 20, 0.3), 0 0 45px rgba(253, 126, 20, 0.2);
    transform: scale(1.02);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"] {
    padding-left: 40px;
    background: no-repeat 10px center;
    background-size: 20px 20px;
}

input::placeholder,
input[type="date"]::placeholder {
    color: #adb5bd;
    font-style: italic;
}

button:active {
    transform: scale(1.05);
}

@media (max-width: 500px) {
    form {
        padding: 20px;
        width: 90%;
    }

    input,
    button {
        width: 100%;
        margin: 10px 0;
    }
}