﻿body {
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    font-family: Arial, sans-serif;
}

/* Container com imagem responsiva */
.login-container {
    position: relative;
    width: 90%; /* ocupa até 90% da tela */
    max-width: 826px; /* largura máxima = largura da imagem original */
    aspect-ratio: 826 / 561; /* mantém proporção */
    margin: 20px auto;
    background: url('../images/loginconbordados.png') no-repeat center top;
    background-size: contain;
}

/* Campos de texto proporcionais */
.campo {
    position: absolute;
    width: 27%; /* proporcional à largura */
    height: 6%; /* proporcional à altura */
    font-size: 1.2vw;
    padding: 0.5%;
    border: 1px solid #888;
    border-radius: 15px;
    /*height: 4.5%;*/
    height: 3.8%;
    width: 18.8%;
    border: none;
    background-color: transparent;
    padding-left: 8px;
    left: 15.47%;
    border: none; /* sem borda inicialmente */
    background: white; /* fundo branco sempre */
    outline: none; /* remove a borda azul padrão */
}
    
/* Posições em % */
.empresa {
    top: 47.8%;
    
}

.usuario {
    top: 57%;
}

.senha {
    top: 66.4%;
}
.botao-login {
    position: absolute;
    top: 73.5%;
    left: 15.5%;
    width: 20%;
    height: 6%;
    font-size: 1.5vw;
    background-color: transparent; /* fundo transparente */
    color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 15px;
}
    .botao-login:hover {
        background-color: rgba(0,0,139,0.2); /* leve fundo azul ao passar o mouse */
    }
.link-cadastro {
    position: absolute;
    top: 67.8%;
    left: 48%;
    width: 18.3%;
    height: 7.7%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2vw;
    font-weight: bold;
    color: transparent; /*darkblue;*/
    background-color: transparent; /* gold;*/
    border: none; /*1px solid darkblue;*/
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    padding: 0.5%;
    border-radius: 15px;
}
.link-cconvest {
    position: absolute;
    top: 66%;
    left: 30%;
    width: 30%;
    height: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2vw;
    font-weight: bold;
    color: darkblue; /*transparent;*/
    background-color: transparent; /* gold;*/
    border: none; /*1px solid darkblue;*/
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    padding: 0.5%;
}
.link-transparente {
    color: transparent; /* deixa o texto invisível */
    text-decoration: none; /* remove sublinhado */
    border: none; /* remove borda */
    background: transparent; /* garante fundo transparente */
}
    .link-cadastro:hover {
        background: #ffd700;
        color: darkblue;
    }
