
form {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Header and Text Styles */
form h1 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: -20px;
    text-transform: uppercase;
}

form p {
    margin-bottom: 5px;
    text-align: center;
    min-height: 8px; /* Prevents layout shift when no error is present */
}

p[style] { /* Targets the inline style for error messages */
    color: #d9534f;
    font-weight: bold;
}

/* List item and label styles */
form ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

form li {
    margin-bottom: 5px;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #555;
}

/* Input styles */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    border-radius: 25px;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
    outline: none;
}

/* Button and link styles */
input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #794d00;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

input[type="submit"]:hover {
    background-color: #794d00;
    transform: translateY(-2px);
}

form a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

form a:hover {
    color: #007bff;
    text-decoration: underline;
}