/* Fundo com gradiente */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #0D316C, #0084ff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", sans-serif;
}

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

/* Card */
.login-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: fadeIn 0.6s ease-in-out;
}

/* Logo */
.logo img {
    width: 200px;
    margin-bottom: 30px;
}
.logo h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0046f5;
}

/* Título */
.login-card h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Inputs estilizados */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px 10px;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #0D316C;
    background-color: #fff;
    color: #000;
}

.input-group input:focus {
    border-color: #0046f5;
    box-shadow: 0 0 0 3px rgba(0, 70, 245, 0.1);
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #888;
    font-size: 0.9rem;
    transition: 0.3s;
    pointer-events: none;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 0.75rem;
    color: #0046f5;
    background: #fff;
    padding: 0 5px;
    border-radius: 4px;
}

/* Botão */
.btn-login {
    width: 100%;
    padding: 12px;
    background: #0046f5;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #0030b5;
}

/* Mensagem de erro */
.erro {
    background: #ffe5e5;
    color: #d60000;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Texto rodapé */
.footer-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #555;
}
.footer-text a {
    color: #0046f5;
    text-decoration: none;
    font-weight: 500;
}
.footer-text a:hover {
    text-decoration: underline;
}

/* Animação */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
