        body {
            background-color: #874790;
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
        }

        .login-container {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

  .login-box {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 90vw; /* Antes: 400px */
    box-sizing: border-box;
}


        h2 {
            margin-bottom: 10px;
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }

        p {
            color: #999;
            font-size: 14px;
            margin-bottom: 30px;
        }

        input[type="password"] {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 14px;
            margin-bottom: 20px;
        }

        button {
            background-color: #673de6;
            color: white;
            padding: 12px;
            width: 100%;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
             transition: background-color 0.3s ease;
        }

        button:hover {
            background-color: #4d2dbf;
        }

        .error {
            color: #e04f5f;
            font-size: 13px;
            margin-bottom: 10px;
        }
        
        @media (max-width: 480px) {
    .login-box {
        padding: 25px 20px;
        border-radius: 10px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        max-width: 90%;
        width: 100%;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    input[type="password"] {
        padding: 10px;
        font-size: 13px;
    }

    button {
        padding: 10px;
        font-size: 13px;
    }

    .error {
        font-size: 12px;
    }

    .login-container {
        padding: 15px;
        height: auto;
        min-height: 100vh;
        box-sizing: border-box;
    }
}
@media (max-width: 320px) {
    h2 { font-size: 16px; }
    input[type="password"], button { font-size: 12px; }
}


.login-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}
