/* Reset basic elements */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container to center form */
.container {
    background-color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Form header */
.container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 28px;
    color: #debc61;
}
 form p {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;  /* Stack label and input vertically */
}

form label {
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #debc61;
}

form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

form input:focus {
    border-color: #debc61;
    outline: none;
    background-color: #fefefe;
}

/* Submit button */
form button {
    width: 100%;
    padding: 10px;
    background-color: #debc61;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
}

form button:hover {
    background-color: #debc61;
}

/* Login link */
.container p {
    text-align: center;
    margin-top: 1rem;
}

.container a {
    color: #debc61;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}
.errorlist {
    font-size: 12px;
    color: #d9534f;  /* red for errors */
}
.helptext {
    color: #debc61;  /* blue for help text */
}