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

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.login-card {
    background-color: #1c1c1c;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.login-card h2 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
}

.login-card p {
    color: #8a8a8a;
    margin: 0 0 24px 0;
    font-size: 14px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background-color: #242424;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #555555;
}

.input-group input::placeholder {
    color: #666666;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #6366f1;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #4f46e5;
    border-color: #444444;
}

.forgot-password {
    display: inline-block;
    margin-top: 20px;
    color: #a855f7;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

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

.input-group input.is-invalid {
    border-color: #ef4444;
}

.input-group input.is-invalid:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: block;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
