/* General reset for margins, padding, etc */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, rgb(232, 242, 254), rgb(232, 242, 254)); /* Subtle gradient background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

/* Login container */
.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Heading style */
h2 {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Form group styling */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Input field styling */
input {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Input focus effect */
input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
}

/* Button styling */
button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #4facfe;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00f2fe;
}

/* Forgot password link */
.forgot-password {
    display: block;
    margin-top: 10px;
    color: #4facfe;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Message styles */
.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.message.success {
    background-color: #e0f7fa;
    color: #00796b;
    border: 1px solid #00796b;
}

.message.error {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #d32f2f;
}

.message p {
    margin: 0;
}

/* Show the message if there's an error or success */
.message[th\:if] {
    display: block;
}
