/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/assets/img/header.png") no-repeat center top; /* Fundo do header do index */
    background-size: cover;
}

/* Container de login */
.login-container {
    background: rgba(0,0,0,0.85);
    border-radius: 15px;
    padding: 40px 30px;
    width: 350px;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho animado */
.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, rgba(255,255,255,0.05), rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    animation: shine 3s linear infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { transform: rotate(0deg) translateX(0); }
    100% { transform: rotate(360deg) translateX(0); }
}

/* Título e ícone */
.login-container h1 {
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #56616f;
    text-shadow: 0 0 10px #2d343f;
}

.login-container .fa-user {
    font-size: 2em;
    margin-bottom: 15px;
    color: #56616f;
    text-shadow: 0 0 10px #2d343f;
}

/* Inputs */
.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: 2px solid #fff;
    background: rgba(255,255,255,0.05);
    color: #fff;
    outline: none;
    transition: 0.3s;
    text-align: center;
}

.input-box input:focus {
    border-color: #56616f;
    box-shadow: 0 0 10px #56616f;
    background: rgba(255,255,255,0.1);
}

.input-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Botão usando gradiente já existente */
.btn-login {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #ff4b2b, #ff416c); /* Gradiente do seu botão */
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #56616f;
}

/* Mensagem de erro */
.erro {
    background: rgba(255,0,0,0.6);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Links */
.login-container .links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
}

.login-container .links a {
    color: #56616f;
    text-decoration: none;
    transition: 0.3s;
}

.login-container .links a:hover {
    text-decoration: underline;
}