/*Estilização Geral do Site*/


/*crtl+shif+C para ver cores, se etiver com o colorPicker instalado*/

#contentzoom {
    transform: scale(0.8);
    transform-origin: 0 0;
}

.fit_table{
    white-space: nowrap; 
    width: 1%;
}

.fit_table_fluxo{
    white-space: nowrap; 
}

.inline-td {
    display: flex;
}

.acoes-td {
    display: block;
    width: 80px;
}
 
 
/* Sidebar: estado mobile legado (toggle via JS); layout atual usa menu inferior no mobile */
#sidebar.active {
    /* mantido para compatibilidade com fechar() — sem deslocamento horizontal */
}

.sidenav{
    height: 100%;
        transition: all 0.3s;
    background-color: #5a5c69;
}

#calendar {
    max-width: 900px;
    margin: 0 auto;
  }

#calendar .button{
    background-color: #36b9cc;
    border-color: #36b9cc;
}

.div_invisivel{
    display: none;
}

.numero_icone{
    position: absolute;
    -webkit-transform: scale(.7);
    transform: scale(.7);
    -webkit-transform-origin: top right;
    transform-origin: top right;
    right: .25rem;
    margin-top: -.25rem;
}

.overlay {
    display: none;
    position: fixed;
    /* full screen */
    width: 100vw;
    height: 100vh;
    /* transparent black */
    background: rgba(0, 0, 0, 0.7);
    /* middle layer, i.e. appears below the sidebar */
    z-index: 998;
    opacity: 0;
    /* animate the transition */
    transition: all 0.5s ease-in-out;
}
/* display .overlay when it has the .active class */
.overlay.active {
    display: block;
    opacity: 1;
}

#dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    /* top right corner of the sidebar */
    top: 10px;
    right: 10px;
}


.fotoredonda{
    height: 35px;
    border-width: thin;
    border-style: solid;
    border-radius: 20px;
    border-color: #fff;
    background: #fff;
}

.modal-gg {
    max-width: 90%!important;
}


.cl-padrao{
    background: #f8f9fc;
}

.btn-padrao{
    /*background: #ED9C00;*/
    background: royalblue !important;
    color: #FFF!important;
}

.text-padrao{
    color: #000B52!important;
}

.sidebar-padrao .nav-item .nav-link {
    color: rgb(0, 11, 82, 0.8);
    /*color: #000B52,0.8;*/
}

.tabela_solicitacao {
    table-layout: fixed;
}


.divisor {
    border-bottom: 1px solid #ccc;
    margin-top: 10px;
}

.sem_borda{
    border: 1px solid #fff!important;
}

input:read-only .sem_borda{
  background-color: yellow!important;
}



.coluna_vertical{
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding-bottom: 40%;
}

.tamanho_coluna .text th{
    width: 400px!important;
    display: block;
 
}


/*.sidebarfundo{
    background-color: #f8f9fc;
}*/

 

/*|--------------------------Os exemplos abaixo são coisas de CSS que eu fiz no serviço e já tem @mediaqueries para se
guiar durante a execução do nosso projeto (MOBILE)----------------------------------------------------------------|*/
/*#popup-modal #msg-error{
    color: #ff4392 !important;
}
#popup-modal .ajaxform{
    position: fixed;
    transform: translate();
    top:295px;
    left:540px;
    -webkit-transform: translate(-488px,-88px) scale(0.9,0.9);
    -moz-transform: translate(-485px,-85px) scale(0.9,0.9);
}
#popup-modal .stage-container{
    overflow-x: hidden;
}
#popup-modal .btn{
    max-width: 220px;
    margin: auto;
    transform: skew(-25deg);
    box-shadow: 4px 4px black;
    height: 30px;
}
#popup-modal .btn span {
    transform: skew(25deg);
    position: absolute;
    left: 0;
    right: 0;
    top: 7px;
}
    @media (max-width: 850px) {
        #popup-modal .popup .modal-dialog {
            width: auto;
            max-width: 80%;
            margin-left: auto;
            margin-right: auto;
        }
    }
    @media (max-width: 767px) {
        #popup-modal .modal-dialog, .modal-body{
            padding: 0;
            max-width: 260px;
            margin:auto;
            position: relative;
            min-height: 300px;
            top: 15%;
            left: 0%;
            height: auto;
            -webkit-transform: translate(4.5px,-4px);
            -moz-transform: translate(4.5px,-4px);
        }
    }
    @media (max-width: 399px) and (min-width: 280px) {
        #popup-modal .modal-dialog, .modal-body{
            padding: 0;
            max-width: 260px;
            margin:auto;
            position: relative;
            min-height: 300px;
            top: 15%;
            left: 0%;
            height: auto;
            -webkit-transform: translate(5px,-5px)
            -moz-transform: translate(5px,-5px);
        }
    }
    @media (max-width: 767px) {
        #popup-modal .close-popup {
            position: relative;
            top: -7px;
            left: 378.5px;
            -webkit-transform: translate(-134.5px,-4px) scale(0.7,0.7);
            -moz-transform: translate(-134.5px,-4px) scale(0.7,0.7);
        }
    }

    @media (max-width: 399px) and (min-width: 280px) {
        #popup-modal .close-popup {
            position: relative;
            top: -8px;
            left: 244px;
            font-size: 14px;
            -webkit-transform: translate(0px,-1px);
            -moz-transform: translate(0px,-1px);
        }
    }*/

/* Meus dados (CConfig/dados_user): seções e bloco imutável — alinhamento mobile-first */
.invest-edit-dados__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.invest-edit-dados__section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.invest-edit-dados__section--immutable {
  background: rgba(109, 40, 217, 0.06);
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: 12px;
  padding: 1rem 1rem 1.1rem;
  margin-bottom: 1.35rem;
  border-bottom: 0;
}
.invest-edit-dados__section-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a5c69;
  margin-bottom: 0.75rem;
}
.invest-edit-dados__section-hint {
  margin-top: -0.35rem;
}
.invest-edit-dados__immutable-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1rem;
}
@media (min-width: 576px) {
  .invest-edit-dados__immutable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .invest-edit-dados__immutable-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.invest-edit-dados__immutable-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.invest-edit-dados__immutable-item--wide {
  grid-column: 1 / -1;
}
.invest-edit-dados__immutable-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #858796;
}
.invest-edit-dados__immutable-value {
  font-size: 1rem;
  font-weight: 600;
  color: #3a3b45;
  word-break: break-word;
}
.invest-edit-dados__immutable-value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.04em;
}
.invest-edit-dados__field-hint {
  line-height: 1.35;
}
.invest-edit-dados .form-row {
  margin-left: 0;
  margin-right: 0;
}
.invest-edit-dados .form-row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

/* ——— Meus dados: layout tipo app (campos com label na borda) ——— */
.invest-mprofile {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.invest-mprofile__sheet {
  border-radius: 0;
}

.invest-mprofile__topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.35rem 1rem;
  position: sticky;
  top: 0;
  z-index: 5;
}

.invest-mprofile__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  color: #3a3b45;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.invest-mprofile__back:hover {
  color: #5b21b6;
  border-color: rgba(109, 40, 217, 0.35);
}

.invest-mprofile__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  color: #2e2f37;
  line-height: 1.25;
}

.invest-mprofile__topbar-spacer {
  width: 40px;
  height: 40px;
}

.invest-mprofile__scroll {
  padding: 0 1rem 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.invest-mprofile__intro {
  font-size: 0.8rem;
  color: #858796;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.invest-mprofile__section-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #2e2f37;
  margin: 1.35rem 0 0.85rem;
  letter-spacing: 0.01em;
}

.invest-mprofile__section-heading:first-of-type {
  margin-top: 0.5rem;
}

.invest-mprofile__section-sub {
  font-size: 0.78rem;
  color: #858796;
  margin: -0.35rem 0 0.85rem;
  line-height: 1.4;
}

.invest-mprofile__hint {
  font-size: 0.75rem;
  color: #858796;
  margin: 0.35rem 0 0;
  line-height: 1.35;
}

.invest-mprofile__row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 400px) {
  .invest-mprofile__row2 {
    grid-template-columns: 1fr 1fr;
  }
}

.invest-mprofile__row2 .invest-outlined-field--grow {
  min-width: 0;
}

.invest-mprofile__row2 .invest-outlined-field--uf {
  max-width: 100%;
}

@media (min-width: 400px) {
  .invest-mprofile__row2 .invest-outlined-field--uf {
    max-width: 5.5rem;
  }
}

.invest-mprofile__actions {
  margin-top: 1.75rem;
  padding-top: 0.5rem;
}

.invest-mprofile__submit {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 45%, #5b21b6 100%);
  box-shadow: 0 6px 22px rgba(109, 40, 217, 0.35);
}

.invest-mprofile__submit:hover {
  filter: brightness(1.06);
}

/* Campo com borda e “legenda” na linha (estilo app bancário) */
.invest-outlined-field {
  margin-bottom: 0.85rem;
}

.invest-outlined-field__box {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.invest-outlined-field__box:focus-within {
  border-color: rgba(109, 40, 217, 0.55);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}

.invest-outlined-field__legend {
  position: absolute;
  left: 0.75rem;
  top: 0;
  transform: translateY(-50%);
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #858796;
  background: #fff;
  padding: 0 6px;
  pointer-events: none;
  max-width: calc(100% - 2.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invest-outlined-field__legend--float {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.72rem;
  font-weight: 500;
}

.invest-outlined-field__input {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2e2f37;
  font-size: 1rem;
  line-height: 1.35;
  padding: 1.15rem 0.85rem 0.55rem;
  border-radius: 14px;
  min-height: 3.15rem;
  box-sizing: border-box;
}

.invest-outlined-field__input--date {
  min-height: 3.15rem;
}

.invest-outlined-field__input--select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a5c69' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.invest-outlined-field--readonly .invest-outlined-field__box {
  background: rgba(248, 249, 252, 0.95);
}

.invest-outlined-field--readonly .invest-outlined-field__legend {
  background: rgba(248, 249, 252, 0.95);
}

.invest-outlined-field__static {
  padding: 1.05rem 0.85rem 0.65rem;
  font-size: 1rem;
  font-weight: 500;
  color: #2e2f37;
  min-height: 3.15rem;
  box-sizing: border-box;
}

.invest-outlined-field__static--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.03em;
}

.invest-outlined-field__input.is-invalid {
  color: #b91c1c;
}

.invest-outlined-field__box:has(.invest-outlined-field__input.is-invalid) {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.integracoes-card-b3 {
  border-radius: 14px;
}

.integracoes-badge {
  color: #ede9fe;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.5);
}

.integracoes-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.integracoes-item:last-child {
  margin-bottom: 0;
}

.integracoes-item:hover,
.integracoes-item:focus {
  text-decoration: none;
  color: inherit;
  border-color: rgba(109, 40, 217, 0.55);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
  transform: translateY(-1px);
}

.integracoes-item__title {
  display: block;
  font-weight: 700;
  color: #ddd6fe;
  margin-bottom: 0.15rem;
}

.integracoes-card-b3 .card-header .text-primary {
  color: #ddd6fe !important;
}

.integracoes-item__desc {
  display: block;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.integracoes-card-b3 .text-muted {
  color: #cbd5e1 !important;
}

@media (max-width: 576px) {
  .integracoes-item {
    padding: 0.8rem 0.85rem;
  }
}