/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom right, #6a11cb, #2575fc);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Form Container */
form {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    padding: 20px;
    color: #333;
    text-align: center;
}

/* Heading */
form h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2575fc;
}

/* Input Fields */
form input,
form select,
form button {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* Input Focus */
form input:focus,
form select:focus {
    border-color: #2575fc;
    outline: none;
}

/* Buttons */
form button {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: linear-gradient(to right, #2575fc, #6a11cb);
}

/* Links */
form a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #2575fc;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

form a:hover {
    color: #6a11cb;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    form {
        padding: 15px;
    }

    form h1 {
        font-size: 1.5rem;
    }

    form input,
    form select,
    form button {
        font-size: 0.9rem;
        padding: 8px;
    }
}