:root {
    --bg-main: #0a0a0a;
    --bg-card: #1a1a1a;
    --purple-primary: #7c3aed;
    --purple-hover: #9333ea;
    --text-main: #ffffff;
    --text-muted: #a78bfa;
    --border-color: rgba(124, 58, 237, 0.2);
}

.body-login {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-wrapper img {
    height: 60px;
    width: auto;
}

h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

.input-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background-color: #0f0f0f;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--purple-primary);
}

button {
    width: 100%;
    padding: 14px;
    background-color: var(--purple-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:hover {
    background-color: var(--purple-hover);
}

button:active {
    transform: scale(0.98);
}

.alert {
    padding: 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

/* Efeito de Loading */
.hidden { display: none; }
.loader {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }