body {
    font-family: Arial, sans-serif;
    background: linear-gradient(120deg, #3e0a5a, #000000);
    color: rgb(174, 149, 186);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('bgindex.png');
    margin-bottom: 340px;
    overflow: auto; }
.login-container {
    text-align: center;
    font-size: 15px;
    background: rgba(183, 0, 255, 0.203);
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 250px;
    margin-top: auto;
    margin-bottom: auto;
}

.remember-me {
    display: flex;
    align-items: center;     gap: 3px;     font-size: 15px;
    margin-bottom: 5px;
    color: rgb(255, 255, 255);
}

.remember-me input {
    width: 17px;
    height: 17px;
    cursor: pointer;
    position: relative;
    margin-left: 55px;
    top: 2px; }



#loginEmail::placeholder {
    text-transform: uppercase;
}

.link-container {
    margin-left: 0px;
    gap: 0px; }


.password-container {
    position: relative;     align-items: center;
    align-items: center;
}

.password-container i {
    position: absolute;
    right: 45px;     top: 40%;     transform: translateY(-50%);     cursor: pointer;
    color: #555;
    font-size: 18px; }


input {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    padding-right: 45px;     font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#togglePassword {
    position: absolute;
    right: 0px;     cursor: pointer;
    font-size: 20px;
    color: #555;
    padding-right: 25px;
}
.eye-icon {
    position: absolute;
    right: 10px;     cursor: pointer;     font-size: 10px;     color: #6a1b94;     user-select: none;     padding-top: 5px;
}


.recaptcha-container {
    display: flex;
    justify-content: center;     align-items: center;         height: 100%;            }

.g-recaptcha {
    transform: scale(0.7);     transform-origin: center; }

input {
    width: 220px;     max-width: 400px;     padding: 8px;     box-sizing: border-box;     font-size: 16px;     border-radius: 8px;
}

button {
    padding: 10px;
    width: 220px;
    background: linear-gradient(120deg, #3e0a78, #000000);
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: transform 0.2s;
}
button:hover {
    background:linear-gradient(120deg, #3e0a78, #000000);
    transform: scale(1.1);
}
img {
    width: 250px;        
    margin-bottom: 0px;  
} 





/*CLASSE DE ALERTA INÍCIO*/

.modal {
    display: none;     
    position: fixed;
    z-index: 1000;     
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);     
    justify-content: center;     
    align-items: center;     
    border-inline-width: 2px;
    border: rgb(0, 0, 0);
}

/* Classe base */
.modal-content {
    position: relative;
    background-color: #2a053de4;
    color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    width: 300px;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* importante */
}

/* SVG animação da borda */
.animated-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    fill: none;
    stroke: red; /* substituído nos status */
    stroke-width: 2;
    stroke-dasharray: 101;
    stroke-dashoffset: 1000;
    animation: drawExact 0.5s ease-out forwards;
    z-index: 2;
}

.animated-border rect {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

/* Animação */
@keyframes drawExact {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes alertLoad {
    0% {
        stroke-dashoffset: 100;
        stroke-dasharray: 100;

    }
    100% {
        stroke-dashoffset: 11;
        stroke-dasharray: 1000;

    }
}

/* Cores conforme status */
.modal-error .animated-border {
     stroke: red; 
    animation: drawExact 0.5s ease-out forwards;

}


.modal-success .animated-border {
    stroke: rgb(7, 255, 7);
    animation: alertLoad 2s ease-out forwards;

}


.modal-loading .animated-border {
    stroke: white; 
    animation: alertLoad 3s ease-out forwards;
}


.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}


.close {
    display: none;
    position: absolute;
    top: 5px;
    right: 10px;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
}

.close:hover {
    color: #ffffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.icon {
    font-size: 3rem;     
    margin-top: 10px;
    display: none;     
    animation: pop 0.5s ease-in-out;     
    color: inherit;     
    stroke: #ffffff; }

.error-icon {
    color: red;
    animation: shake 0.5s ease;
}

.success-icon {
    color: green;
    animation: bounce 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.spinner {
    border: 6px solid #000000;
    border-top: 6px solid #6707b0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.3s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*CLASSE DE ALERTA FIM*/






a {
    font-size: 13px;
    color: #d1a2ff;
    text-decoration: underline;
}

a:hover {
    color: #ffffff;
}

a:active {
    color: #9500ff;
}

.support-container {
    position: fixed;
    bottom: 600px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.support-button {
    width: 60px;
    height: 60px;
    background-image: url('Helpbtn.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s;
}

.support-button:hover {
    transform: scale(1.1);
}

.support-text {
    margin-top: 5px;
    font-size: 14px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 8px;
}


footer {
    font-size: 12px;
    text-align: center;
    padding: 5px;
    background: #22042e;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}