/* =============================== */
/* DemoBank Auth Pages CSS          */
/* Applies to login, register, reset, forgot password, auto login */
/* =============================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    margin: 0;
    padding: 0;
}

.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px 40px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 20px;
    color: #004080;
    font-weight: 600;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-card label {
    text-align: left;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="number"],
.auth-card input[type="file"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}

.auth-card input:focus {
    border-color: #004080;
    outline: none;
}

.auth-card button.btn {
    background-color: #004080;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.auth-card button.btn:hover {
    background-color: #0066cc;
}

.auth-card .link {
    font-size: 14px;
    margin-top: 10px;
    display: block;
    color: #004080;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-card .link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.auth-card small {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.error-message {
    color: #ff0000;
    font-size: 13px;
    margin-bottom: 10px;
}

.success-message {
    color: green;
    font-size: 13px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 25px 20px;
        width: 100%;
    }
}