/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    /*background-image: url('../img/bg-login.png');*/
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}



/*VIMEO VIDEO BG*/
.iframe-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.iframe-wrapper iframe {
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilo para o header e a logo */
.logo {
    width: 300px;
}

h2 {
    text-align: left;
    margin-bottom: 60px;
    font-size: 1.8em;
    line-height: 1.2;
    color: #333;
    font-weight: 700;
}


/* Estilizando a caixa de login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-box {
    width: 100%;
    text-align: center;
    padding: 40px;
}

/* Inputs e botões */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 15px;
    margin: 5px 0;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #4CAF50;
}

.btn-acessar {
    background-color: #2a85ff;
    color: white;
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.btn-acessar:hover {
    background: #008ecc;
    transform: scale(1.05);
}

.btn-acessar:active {
    transform: scale(1);
}

.link-recuperacao {
    display: block;
    margin-bottom: 20px;
    color: #2a85ff;
    text-decoration: none;
    font-weight: 400;
    text-align: right;
    transition: color 0.3s ease;
}

/* Ajuste das caixas de texto para se assemelhar ao design da imagem box.png */
input[type="text"], input[type="password"] {
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    padding: 14px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
    width: calc(100% - 40px);
    padding-left: 40px;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-bottom-color: #4CAF50;
    background-color: #fff;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group label {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #aaa;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 24px;
    color: #aaa;
}

#copyright {
    text-align: center;
    color: #FFF;
}

.error-message {
    color: red;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgb(255 0 0 / 10%);
    border-radius: 5px;
    padding: 10px;
}

.success-message {
    color: green;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgb(0 128 0 / 10%);
    border-radius: 5px;
    padding: 10px;
}

/* Animações */
@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
