/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #141e30, #243b55);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Form Container Card */
form {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heading */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #243b55;
    font-size: 28px;
    font-weight: 600;
}

/* Labels */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: 0.3s border;
}

input:focus {
    border-color: #141e30;
    outline: none;
    box-shadow: 0 0 0 2px rgba(20, 30, 48, 0.2);
}

/* Submit Button */
input[type="submit"] {
    width: 100%;
    background: linear-gradient(to right, #141e30, #243b55);
    color: white;
    padding: 12px;
    font-size: 17px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s background;
}

input[type="submit"]:hover {
    background: linear-gradient(to right, #243b55, #141e30);
}

/* Responsive Behavior */
@media screen and (max-width: 480px) {
    form {
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }
}