body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, #e3f2fd, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column;
}

.container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    margin-bottom: 20px; /* Ensures spacing between form and footer */
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border 0.2s ease;
}

input:focus {
    border-color: #1976d2;
    outline: none;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    background-color: #1976d2;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0d47a1;
}

.error {
    color: red;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

footer a {
    color: #1976d2;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}