/* Estilos para o formulário de cadastro de usuário */

#iarecrm-cadastrar-usuario-form, #iarecrm-editar-usuario-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
    flex: 1;
}

/* Container do switch e o texto */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

/* Estilo básico do switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 10px; /* Espaçamento entre o switch e o texto */
}

/* Ocultar o input original do checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Estilo da "alavanca" do switch */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc; /* Cor cinza para o estado 'off' */
    transition: 0.4s;
    border-radius: 34px; /* Deixa os cantos arredondados */
}

/* Bolinha dentro do switch */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%; /* Deixa a bolinha redonda */
}

/* Estilo quando o switch estiver marcado (estado 'on') */
input:checked + .slider {
    background-color: #042B9E; /* Cor azul para o estado 'on' */
}

/* Move a bolinha para a direita quando 'on' */
input:checked + .slider:before {
    transform: translateX(26px);
}

/* Estilo opcional para uma sombra mais suave */
.slider:active:before {
    width: 28px;
}

/* Estilo do switch para responsividade */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.username-error {
    color: #042483;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
}

.link-voltar-usuarios, .link-voltar-usuarios-2col {
    color: #042B9E;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    display: inline-block;
    padding-bottom: 50px;
}

.link-voltar-usuarios::before, .link-voltar-usuarios-2col::before {
    content: '←';
    margin-right: 5px;
    font-size: 15px;
    font-weight: 600;
    color: #042B9E;
    padding-bottom: 50px;
}

.form-usuarios-container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.form-usuarios {
    display: flex;
    justify-content: space-between;
    width: 700px;
    align-items: center;
}

.form-usuarios-texto {
    display: block;
    padding-bottom: 50px;
}

.form-usuarios h2 {
    margin-bottom: 5px;
}