body {
    padding: 0;
    margin: 0; /* Adicionado para evitar margens padrão */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #eee3ef, #ecf2fd); /* Mantido seu fundo */
}

.login-box {
    background: rgba(255, 255, 255, 0.15); /* Aumentei levemente a opacidade para contraste */
    backdrop-filter: blur(12px); /* Aumentei o blur para suavidade */
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.8s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Aumentei opacidade da borda */
}

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

.login-box img {
    display: block;
    margin: 0 auto 1.5rem;
    width: 150px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.login-box img:hover {
    transform: scale(1.05);
}

.login-box h2 {
    text-align: center;
    color: #414141; /* Mantido, mas pode ser ajustado se precisar de mais contraste */
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); /* Suavizei a sombra */
}

.login-box input {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.2); /* Aumentei opacidade para legibilidade */
    border: 1px solid rgba(0, 0, 0, 0.533);
    border-radius: 8px;
    color: #333333; /* Mudei para tom mais escuro para contraste */
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.login-box input:focus {
    border-color: #6b4ff7; /* Alinhei com a cor do botão para consistência */
    box-shadow: 0 0 8px rgba(107, 79, 247, 0.5);
    background: rgba(255, 255, 255, 0.25);
}

.login-box input::placeholder {
    color: rgba(0, 0, 0, 0.5); /* Ajustei para contraste com fundo claro */
}

.login-box button {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(90deg, #6b4ff7, #6b4ff7); /* Adicionei variação sutil no gradiente */
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-box button:hover {
    transform: scale(1.02);
    background: linear-gradient(90deg, #6b4ff7, #6b4ff7); /* Gradiente mais claro no hover */
    box-shadow: 0 4px 15px rgba(107, 79, 247, 0.4);
}

.login-box button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3); /* Aumentei opacidade do efeito */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.login-box button:hover::after {
    width: 200px;
    height: 200px;
}

.error {
    color: #ff5555;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error[style*="display: block"] {
    opacity: 1;
}