/* Base styles */
body {
    font-family: Arial, sans-serif;
    height: 90vh;
    padding: 0 5vw;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background-color: #f8f9fa;
}

h1 {
    font-size: 1.5em;
    color: #333;
    margin: 0;
}

/* Login form styles */
.login-container {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: grid;
    gap: 15px 10px;
    grid-template-columns: 25% 25% auto 25%;
    grid-template-rows: auto;
    grid-template-areas:
      "title title title title"
      "label input empty button";
    margin-bottom: 1rem;
}

.form-group h2 {
    grid-area: title;
}

.form-group label {
    grid-area: label;
    font-weight: 500;
    color: #333;
    padding: 0.75rem 0;
    box-sizing: border-box;
}

.form-group input {
    grid-area: input;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-group button {
    grid-area: button;
}

.btn {
    padding: 0.75rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #0056b3;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.help-text {
    margin-top: 1rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.help-text a {
    color: #007bff;
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}
