* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url('../assets/img/6lds_nvw5_190113.jpg'); /* Substitua pelo link da sua imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ajuste a opacidade conforme necessário */
    z-index: 1;
}

.container {
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.1); /* Fundo semi-transparente para o conteúdo */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    max-width: 700px;
    height: 100vh;
    overflow: hidden;
}

h5 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
}

.input-field input, 
.input-field select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1em;
    box-sizing: border-box;
}

.input-field label {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.input-field input:focus,
.input-field select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-row .input-field {
    flex: 1;
}

.form-step {
    display: none; 
    padding: 20px;
    margin-top: -50px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-step.active {
    display: block;
}

.form-step h5 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

#step1 {
    display: block; 
}

.btn {
    margin-top: 40px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.login-btn {
    background-color: green; /* Cor vermelha */
    color: white;
}

.next-btn{
    margin-top: 0px;
}

.btn:hover {
    background-color: #0056b3;
}

/* Botão anterior */
.prev-btn {
    background-color: #6c757d;
}

.prev-btn:hover {
    background-color: #5a6268;
}

.prev-btn:hover {
    background-color: #5a6268;
}

/* Botão de voltar ao login */
.back-btn {
    background-color: #28a745;
    margin-top: 20px;
}

.back-btn:hover {
    background-color: #218838;
}

.submit-btn {
    background-color: #28a745;
}

.submit-btn:hover {
    background-color: #218838;
}

.form-container {
    padding: 20px;
}

input {
    margin-bottom: 20px;
}

/* Estilização para os campos de entrada */
input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Estilização para o estado ativo do campo */
input:focus, select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {

    body {
        background-attachment: scroll; /* Remove o efeito fixo no mobile, para evitar problemas de performance */
        background-size: cover; /* Mantém a imagem sempre cobrindo o fundo */
        background-position: center top; /* Centraliza a imagem, mas alinha o topo para evitar cortes desnecessários */
    }
    
    .container {
        padding: 5px;
        margin-bottom: 20px;
    }

    .next-btn{
        margin-top: 5px;
    }

    .login-btn {
        margin-top: 50px;
    }

    .left2{
        margin-top: 20px;
    }

    .right{
        margin-top: 30px;
    }

    .input-field {
        width: 100%; /* Certifique-se de que os campos de entrada ocupem toda a largura da tela */
    }

    img {
        max-height: 100px;
    }

    h5 {
        font-size: 1.2em;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}