/* Fundo igual ao dashboard */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Container central */
.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Card estilo glass */
.login-card.glass {
    width: 100%;
    max-width: 380px;
    padding: 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    box-sizing: border-box;
}

/* Logo */
.logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Texto */
h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.subtitle {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 20px;
}

.erro {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Campos */
form {
    display: flex;
    flex-direction: column;
}

form input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}

/* Placeholder branco */
form input::placeholder {
    color: #eee;
}

/* Botão */
form button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7a00, #ff3c00);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 480px) {
    .login-card.glass {
        width: 100%;
        padding: 20px;
    }

    .logo {
        width: 140px;
    }
}