/* login/static/styles.css */

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
}

.login-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Style for buttons to appear side by side */
.form-group.buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    justify-content: center; /* Center buttons horizontally */
}

.form-group.buttons input[type="submit"] {
    flex: 1; /* Buttons take equal width */
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #007bff; /* Primary blue for Login button */
    color: white;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.form-group.buttons input[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.form-group.buttons input[type="submit"]:nth-child(2) {
    background-color: #28a745; /* Green for SSO button */
}

.form-group.buttons input[type="submit"]:nth-child(2):hover {
    background-color: #1e7e34; /* Darker green on hover */
}

.form-group.buttons input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.error {
    color: #721c24;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}