* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* background: linear-gradient( -25deg, #03a9f4 0%, #3a78b7 50%, #262626 50%, #607d8d 100%); */
    background: rgb(0, 0, 0);
    backdrop-filter: hue-rotate(120deg);
    animation: animate 10s ease-in infinite;
}

/* @keyframes animate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
} */

.box {
    position: relative;
    padding: 50px;
    padding-top: 0px;
    width: 360px;
    height: 480px;
    display: flex;
    transform: translateY(-800px);
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    
    animation: appare 1.5s linear;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

.box:hover{
    box-shadow: 1px 15px 20px rgb(255, 255, 255);
}
@keyframes appare {
    0% {
        transform: translateY(-800px);
    }
    40% {
        transform: translateY(0px);
    }
    55% {
        transform: translateY(-80px);
    }
    70% {
        transform: translateY(0px);
    }
    85% {
        transform: translateY(-40px);
    }
    100% {
        transform: translateY(0px);
    }
}

.box::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 5px;
    pointer-events: none;
    background: linear-gradient( to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 15%, transparent 50%, transparent 85%, rgba(255, 255, 255, 0.3) 100%);
}

.box .form {
    position: relative;
    width: 100%;
}

.box .form h2 {
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    top: -20px;
}

.box .form .inputBx {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.box .form .inputBx input {
    width: 100%;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    padding: 8px 10px;
    padding-left: 35px;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 300;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.2);
}

.box .form .inputBx input ::placeholder {
    color: white;
}

.box .form .inputBx input[type="submit"] {
    /* background: white;
    color: black;
    max-width: 150px;
    padding: 8px 24px;
    box-shadow: none;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 16px; */

    background: rgb(94, 94, 94);
    color: rgb(255, 255, 255);
    font-weight: 300;
    letter-spacing: 1px;
    cursor: not-allowed;
    font-size: 14px;
    max-width: 100%;
    padding: 7px;
    cursor: pointer;
    width: 60%;
    margin-left: 20%;
    margin-top: 5%;
    transition: transform 0.3s ease; /* Animação suave */
}

.box .form .inputBx input[type="submit"]:hover{
    transform: scale(1.1); /* Aumenta 20% */
    
}



.box .form .inputBx input[type="submit"]:disabled {
    background: rgb(94, 94, 94);
    color: rgb(255, 255, 255);
    font-weight: 300;
    letter-spacing: 1px;
    cursor: not-allowed;
    font-size: 14px;
    max-width: 100%;
}

.box .form .inputBx img {
    position: absolute;
    top: 10px;
    left: 10px;
    transition: scale(0.7);
    filter: invert(1);
}

.remeber {
    position: relative;
    display: inline-block;
    color: white;
    font-weight: 300;
    margin-bottom: 10px;
    cursor: pointer;
}

.box .form p {
    color: white;
    font-weight: 300;
    font-size: 15px;
    margin-top: 5px;
}

.box .form a {
    color: white;
}

.box .form a:hover {
    color: purple;
}

@media screen and (max-width: 400px) {
    .box {
        padding: 20px;
        width: 310px;
        height: 420px;
    }
}

.user {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    position: relative;
    top: -70px;
    /* filter: grayscale(1); */
    margin: auto;
    box-shadow: 0 5px 35px rgb(0 0 0);
    /* border: 5px solid #0d2d4e; */
}



.plugwin{
    position: absolute;
    top: 90%;
}

.plugwin h1{
    color: white;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
}

.plugwin img {
    position: relative;
    width: 50%;
    background: #ffffff;
    left: 27%;
    bottom: 30px;
    border-radius: 5%;
}


.plugwin img:hover{
    box-shadow: 1px 1px 20px #8f5aef;
}




/* OLHO SENHA */

/* Ícone do olhinho à direita */
/* .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    cursor: pointer;
} */


/* Ícone do cadeado à esquerda */
/* .icon-lock {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
} */

.error-message {
    display: block;
    margin-top: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border-left: 4px solid #c92a2a;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.error-message::before {
    content: "⚠";
    margin-right: 8px;
    font-size: 16px;
}










.js-error-message {
    display: block;
    margin-top: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border-left: 4px solid #c92a2a;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
    opacity: 0;
    transform: translateY(-10px);
}

.js-error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.js-error-message::before {
    content: "⚠";
    margin-right: 8px;
    font-size: 16px;
}

.js-error-message.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* .input-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4) !important;
} */

.error-message {
    display: none !important;
}