body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #1a1d29;
    min-height: 100vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    max-width: 400px;
    width: 95%;
    margin: 0 auto;
    padding: 40px 32px;
    background: #242938;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -2px rgba(0,0,0,0.15);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #374151;
    animation: fadeInUp 0.6s ease forwards;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 28px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

label {
    font-weight: 500;
    margin-bottom: 6px;
    align-self: flex-start;
    font-size: 1rem;
    color: #a0a3bd;
}

input[type="password"], 
input[type="text"] {
    width: 100%;
    padding: 13px 18px;
    margin-bottom: 5px;
    border: 1.5px solid #374151;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #2d3142;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

input[type="password"]:focus, 
input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
    transform: scale(1.01);
}

.entrar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 13px 0;
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.18);
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.entrar:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.error-message {
    color: #ef4444;
    margin: 15px 0;
    font-size: 1.05rem;
    text-align: center;
    background: rgba(239, 68, 68, 0.08);
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .login-container {
        width: 98%;
        padding: 28px 10px;
    }
    h1 {
        font-size: 1.5rem;
    }
    input[type="password"], 
    input[type="text"] {
        padding: 10px 10px;
    }
    .entrar {
        padding: 10px 0;
        font-size: 1rem;
    }
}