﻿body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    /* background: linear-gradient(to bottom, #01122e, #081b3b, #22385c);*/
    /*background: #1cada8;*/
    background: #1cada8;
    color: #333; 
    font-family: Arial, sans-serif;
}

.auth-container {
    width: 100%;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

    /* Título */
    .auth-container h2 {
        margin-bottom: 20px;
        font-size: 28px;
        font-weight: 800;
        color: #acacad;
    }

    /* Subtítulo */
    .auth-container p {
        margin-bottom: 30px;
        color: #555; 
    }

    /* Campos de entrada */
    .auth-container .form-floating {
        position: relative;
        margin-bottom: 20px;
        
    }

        /* Campos de entrada */
        .auth-container .form-floating input {
            border-radius: 10px;
            border: 1px solid #1cada8;
            background: #ffffff; 
            color: #333;
            padding: 15px 20px;
            font-size: 16px;
            width: 100%;
            box-sizing: border-box;
        }

            .auth-container .form-floating input::placeholder {
                color: #888; 
                opacity: 1;
            
            }

        .auth-container .form-floating label {
            position: absolute;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            color: #666;
            font-size: 16px;
            pointer-events: none;
            transition: all 0.2s ease-in-out;
        }

        .auth-container .form-floating input:focus + label,
        .auth-container .form-floating input:not(:placeholder-shown) + label {
            top: 5px;
            font-size: 12px;
            color: #555;
        }

    /* Botão principal */
    .auth-container .btn-primary {
        width: 100%;
        border-radius: 10px;
        /* background: #24ede6; */ /*#*/
        background: #040729;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .auth-container .btn-primary:hover {
            background: #1cada8; /* Inverter gradiente no hover */
            transform: scale(1.05); /* Leve aumento no hover */
        }

    /* Links */
    .auth-container .text-center a {
        color: #040729;
        text-decoration: none;
    }

        .auth-container .text-center a:hover {
            text-decoration: underline;
             color: #1cada8;
        }

.forgot-password-link {
    font-size: 12px;
    color: #040729;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .forgot-password-link:hover {
        color: #1cada8;
        text-decoration: underline; /* Sublinhado ao passar o mouse */
    }

/* Ajuste a margem do elemento superior para reduzir o espaçamento */
.text-end.mb-1 {
    margin-top: -10px; /* Reduz o espaçamento acima */
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 1000;
}



    .back-button:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }