﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #4a90e2; /* Accent color */
    margin-bottom: 20px;
}

.logo a {
    color: #4a90e2;
    text-decoration: none;
}

.auth-card h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.auth-card p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.error-message {
    color: #d9534f; /* Red color for error */
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none; /* Hidden by default, shown by JavaScript */
    text-align: left;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #4a90e2;
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.form-options a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.form-options a:hover {
    color: #357ABD;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.auth-btn:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

.auth-link {
    margin-top: 30px;
    font-size: 0.85rem;
}

.auth-link a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
}

.password-group {
    position: relative;
}

#togglePassword, #togglePassword2 {
    position: absolute;
    right: 15px;
    top: 60%;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

#togglePassword:hover, #togglePassword:hover {
    color: #333;
}
