/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4; /* Light grey background */
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    background: white; /* White background for the form */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Heading Styles */
h1 {
    color: black; /* Black color for the heading */
    margin-bottom: 20px;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    color: #555; /* Grey color for labels */
    text-align: left;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 8px;
    transition: border-color 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    border-color: black; /* Black border on focus */
    outline: none;
}

/* Button Styles */
.auth-button {
    padding: 12px;
    background-color: black; /* Black background for buttons */
    color: white; /* White text for buttons */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.auth-button:hover {
    background-color: grey; /* Grey background on hover */
    transform: translateY(-2px);
}

/* Error Message Styles */
#error-message {
    color: red; /* Red color for error messages */
    text-align: center;
    margin-top: 10px;
}

/* Link Styles */
a {
    color: black; /* Black color for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
