/* ✅ Estilo básico para input, excluindo radio e checkbox */
input:not([type="radio"]):not([type="checkbox"]) {
    width: 100%;
    padding-right: 40px; /* Espaço para o botão "👁" */
    height: 40px;
    line-height: 1.5;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
}

/* ✅ Foco no input */
input:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ✅ Estilo para input inválido */
input.is-invalid {
    border-color: #dc3545;
    padding-right: 40px; /* Espaço para o botão "👁" */
}

/* ✅ Mensagem de erro */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* ✅ Botão "👁" no campo de senha */
.btn-toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    transition: right 0.2s ease-in-out;
}

/* ✅ Move o botão "👁" para a esquerda quando o campo está inválido */
input.is-invalid ~ .btn-toggle-password {
    right: 40px;
}

/* ✅ Responsividade */
@media (max-width: 768px) {
    input:not([type="radio"]):not([type="checkbox"]) {
        padding-right: 35px;
    }
}

/* ✅ Botão "🔍" dentro do campo de CEP */
.btn-search-cep {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    transition: color 0.2s ease-in-out;
}

.btn-search-cep:hover {
    color: #0056b3;
}

/* ✅ Move o botão "🔍" para evitar sobreposição com o ícone de erro */
input.is-invalid ~ .btn-search-cep {
    right: 40px;
}

/* ✅ Corrige o posicionamento do Datepicker */
.ui-datepicker {
    z-index: 9999 !important;
    position: absolute !important;
}

/* ✅ Ajusta a aparência dos botões de rádio */
.form-check-input[type="radio"] {
    width: 1rem;
    height: 1rem;
    border: 2px solid #ced4da;
    background-color: #fff;
    appearance: none; /* Remove o estilo padrão */
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    position: relative;
    cursor: pointer;
}

/* ✅ Estilo quando estiver selecionado */
.form-check-input[type="radio"]:checked {
    background-color: #0d6efd; /* Azul Bootstrap */
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ✅ Criando o ponto interno quando selecionado */
.form-check-input[type="radio"]:checked::before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ✅ Efeito ao passar o mouse */
.form-check-input[type="radio"]:hover {
    border-color: #0b5ed7;
}

/* ✅ Ajuste do alinhamento */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ✅ Ajuste do label */
.form-check-label {
    font-size: 1rem;
    cursor: pointer;
}

/* ✅ Efeito de foco */
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ✅ Ajuste para checkboxes */
.form-check-input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ced4da;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* ✅ Quando o checkbox estiver selecionado, muda a cor */
.form-check-input[type="checkbox"]:checked {
    background-color: #0d6efd; /* Azul Bootstrap */
    border-color: #0d6efd;
}

/* ✅ Efeito ao passar o mouse */
.form-check-input[type="checkbox"]:hover {
    border-color: #0b5ed7;
}

/* ✅ Ajuste para manter o alinhamento e espaçamento correto */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ✅ Ajuste do tamanho e espaçamento do label */
.form-check-label {
    font-size: 1rem;
    cursor: pointer;
}

/* ✅ Efeito de foco */
.form-check-input[type="checkbox"]:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ✅ Responsividade */
@media (max-width: 768px) {
    .form-check {
        gap: 0.3rem;
    }
}




/* Padronizando o tamanho dos icones dos componentes button */
.btn-icon-sm {
    width: 2.2rem;      /* ~35px */
    height: 2.2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-md {
    width: 2.8rem;      /* ~45px */
    height: 2.8rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-lg {
    width: 3.4rem;      /* ~55px */
    height: 3.4rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


.btn-icon-1 {
    width: 2.2rem;    /* ~35px */
    height: 2.2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-2 {
    width: 2.8rem;    /* ~45px */
    height: 2.8rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-3 {
    width: 3.4rem;    /* ~55px */
    height: 3.4rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-4 {
    width: 4.0rem;    /* ~64px */
    height: 4.0rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-5 {
    width: 4.6rem;    /* ~74px */
    height: 4.6rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



.file-upload-wrapper {
    text-align: left !important;
}
.custom-trigger {
    display: inline-block;
}
