.atencao
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #990000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.creditos 
{
    FONT-SIZE: 11px;
    COLOR: #999999;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.explicacao
{
    FONT-SIZE: 12px;
    COLOR: #000066;
    FONT-FAMILY: Arial, Helvetica, sans-serif
}
.linkcategoria
{
    FONT-SIZE: 11px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.loginbusca
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 13px;
    COLOR: #000000;
    FONT-FAMILY: Verdana, Tahoma
}
.textogrande
{  
    FONT-SIZE: 13px;
    COLOR: #000000;
    FONT-FAMILY: Verdana, Tahoma
}
.menulat
{
    DISPLAY: block;
    FONT-SIZE: 11px;
    VERTICAL-ALIGN: middle;
    COLOR: #000000;
    LINE-HEIGHT: 20px;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none;
    BORDER-IMAGE: none
}
.menulatverm
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #990000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.nomecampos
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #666699;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.navegacao
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #959595;
    FONT-FAMILY: Verdana, Tahoma;
    TEXT-DECORATION: none
}
a.navegacao:hover
{
    TEXT-DECORATION: underline
}
.texto
{
    FONT-SIZE: 11px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.textoquebra
{
    FONT-SIZE: 11px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
	word-break: break-all;
    TEXT-DECORATION: none
}
.texto_caixa
{
    FONT-SIZE: 8px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.texto:hover
{
    TEXT-DECORATION: underline
}



.texto_vermelho
{
    FONT-SIZE: 11px;
    COLOR: #990000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.texto_vermelho:hover
{
    TEXT-DECORATION: underline
}
.texto2
{
    FONT-SIZE: 12px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.texto2:hover
{
    TEXT-DECORATION: underline
}
.texto3
{
    FONT-SIZE: 9px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.texto3:hover
{
    TEXT-DECORATION: underline
}
.titulo
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    TEXT-TRANSFORM: uppercase;
    COLOR: #666699;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
.titulotab
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    TEXT-TRANSFORM: uppercase;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}

.titulotabmin
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}

a.titulotab:hover
{
    TEXT-DECORATION: underline
}
.usuario
{
    FONT-SIZE: 13px;
    COLOR: white;
    FONT-FAMILY: Arial, helvetica, SansSerif;
    TEXT-DECORATION: none
}
.textoverde
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #7b9067;
    FONT-STYLE: normal;
    FONT-FAMILY: Arial, Helvetica, sans-serif
}

.textobranco
{
    FONT-WEIGHT: normal;
    FONT-SIZE: 9px;
    COLOR: #FFFFFF;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.textobranco:hover
{
    TEXT-DECORATION: underline
}

.textobranco2
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 13px;
    COLOR: #FFFFFF;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Helvetica, sans-serif;
    TEXT-DECORATION: none
}

.textoverm
{
    FONT-WEIGHT: normal;
    FONT-SIZE: 9px;
    COLOR: #9b1010;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Helvetica, sans-serif;
	TEXT-DECORATION: none
}
a.textoverm:hover
{
    TEXT-DECORATION: underline
}
.textoverm2
{
    FONT-SIZE: 11px;
    COLOR: #9b1010;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.textoverm2:hover
{
    TEXT-DECORATION: underline
}
.titulonov
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 15px;
    COLOR: #000000;
    FONT-FAMILY: Verdana, Tahoma
}
.radio
{
    BORDER-TOP-WIDTH: medium;
    BORDER-LEFT-COLOR: black;
    BORDER-BOTTOM-COLOR: black;
    BORDER-TOP-COLOR: #666666;
    BORDER-RIGHT-COLOR: black
}
li
{  
    list-style-image: url(/imagens/bu_bolinha_azul.gif);
    line-height: 1.5;
}

.rodape
{
    FONT-SIZE: 10px;
    COLOR: #000000;
    FONT-FAMILY: arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}

.texto_verm_bold
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #9b1010;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}
a.texto_verm_bold:hover
{
    TEXT-DECORATION: underline
}

#wstooltip{
	position: absolute;
	border: 1px solid #666;

  border-right-width: 2px;
  border-bottom-width: 2px;

	width: auto;
	padding: 5px;

	background-color: lightyellow;
	visibility: hidden;
	z-index: 100;

	/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
	filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);

 	font-size: 11px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none
}

#wsgreentooltip{
	position: absolute;
	border: 1px solid #666;

  border-right-width: 2px;
  border-bottom-width: 2px;

	width: auto;
	padding: 5px;

	background-color: lightgreen;
	visibility: hidden;
	z-index: 100;

	/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
	filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);

 	font-size: 11px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none
}
.tachado
{
    FONT-SIZE: 11px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    TEXT-DECORATION: line-through;
}
.tachado:hover
{
    TEXT-DECORATION: line-through;
}

/* ETF 2154 - LIGHT*/
/* Inputs e textarea */
.texto_new 
{
    width: 100%;
    padding:3px;
    border-radius:4px;
    border:1px solid #4A8FD1;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
    color:#333;
}

input.texto_new {
    height: 26px !important;
    padding: 0 6px !important;
    box-sizing: border-box;
    line-height: 26px !important;
}

.cabecalho {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 36px; /* altura mais compacta */
    border-radius: 8px; /* borda uniforme */
    background: linear-gradient(135deg, #1F436D, #7DBAFF, #6795CA);
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
}

.instrucao
{
	margin-bottom:10px; 
	font-size:12px; 
	color:#555;
	text-align:left;
}

.btn_azul {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    background-color: #6795CA; /* azul mais claro da paleta do cabeçalho */
    color: #fff; /* texto branco */
    border: 1px solid #4A8FD1; /* mesma cor da borda */
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
					
					
/* Hover: tom ainda mais claro */
.btn_azul:hover {
    background-color: #7DBAFF; /* azul claro da paleta */
    transform: translateY(-1px);
}

.btn_vermelho
{
	font-family: Arial, Helvetica, sans-serif;  /* Define a fonte do texto: Arial como principal, Helvetica como alternativa e sans-serif como fallback */
	font-size: 12px;                            /* Define o tamanho do texto como 11 pixels (pequeno) */
	font-weight: bold;                          /* Deixa o texto em negrito */
	background-color: #f5c6cb;                  /* Cor de fundo rosa claro */
	color: #721c24;                             /* Cor do texto vermelho escuro */
	border: 1px solid #f1b0b7;                  /* Cria uma borda fina rosa um pouco mais escura que o fundo */
	border-radius: 4px;                         /* Cantos arredondados com raio de 4px */
	padding: 2px 6px;                           /* Espaçamento interno: 1px em cima/baixo e 6px nas laterais */
	cursor: pointer;                            /* Cursor muda para mãozinha ao passar o mouse (indica que é clicável) */
	box-shadow: 1px 1px 2px rgba(0,0,0,0.2);    /* Sombra discreta embaixo e à direita, dando efeito de leve elevação */
	transition: background-color 0.3s, transform 0.2s; /* Suaviza a mudança de cor do fundo e do texto quando houver hover ou outro efeito */
}

/* Efeito ao passar o mouse */
.btn_vermelho:hover {
    background-color: #f1a1aa;
    transform: translateY(-1px);
}


.btn_verde {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    background-color: #c8e6c9;  /* verde claro */
    color: #1b5e20;             /* verde escuro */
    border: 1px solid #a5d6a7;  /* borda verde um pouco mais escura */
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.btn_verde:hover {
    background-color: #a5d6a7;
    transform: translateY(-1px);
}

.btn_verde_escuro {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    background-color: #2e7d32;
    color: #fff;
    border: 1px solid #1b5e20;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
}
.btn_verde_escuro:hover {
    background-color: #388e3c;
    transform: translateY(-1px);
}

/* Abas */
.nav-abas { 
	display: flex; 
	border-bottom: 2px solid #1e5a9c; 
	margin-bottom: 0; 
	padding: 0; 
	list-style: none; 
}

.nav-abas li { list-style: none; }

.nav-abas li a {
    display: block; 
	padding: 8px 16px; 
	font-size: 12px; 
	font-weight: bold;
    color: #1a3a6a; 
	background: #d6e6f7; 
	border: 1px solid #b0c8e8;
    border-bottom: none; 
	margin-right: 2px; 
	border-radius: 6px 6px 0 0;
    text-decoration: none;
}

.nav-abas li a:hover { background: #c0d8f0; }

.nav-abas li a.ativa { 
	background: #fff; 
	border-bottom: 2px solid #fff; 
	margin-bottom: -2px; 
	color: #1e5a9c; 
}

/* -------------------------------------------------------
   INDICADOR COLORIDO NAS ABAS
------------------------------------------------------- */
.aba-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    margin-left: 4px;
    vertical-align: middle;
}
.aba-dot-ok   { background: #28a745; }
.aba-dot-pend { background: #e6a817; }

.conteudo-aba { 
	background: #fff; 
	border: 1px solid #b0c8e8;
	border-top: none; 
	padding: 14px; 
	border-radius: 0 0 6px 6px; 
}

.info-box { 
	background: #eaf3ff; 
	border: 1px solid #b0c8e8; 
	border-radius: 8px; 
	padding: 7px 11px; 
	margin-bottom: 12px; 
	font-size: 12px; 
	color: #1a3a6a; 
	text-align:left;
}

/* -------------------------------------------------------
   CARDS DE ETAPA
------------------------------------------------------- */
.sec-card {
    border: 1px solid #c8d8ea;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.sec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f6ff;
    padding: 8px 14px;
    border-bottom: 1px solid #c8d8ea;
    cursor: pointer;
    user-select: none;
}
.sec-header:hover { background: #e4eff9; }

.sec-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1e5a9c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-title-lbl {
    font-size: 12px;
    font-weight: bold;
    color: #1e5a9c;
    flex: 1;
}

.sec-badge {
    font-size: 10px;
    padding: 2px 9px;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}
.sec-badge.ok    { background: #e6f4ea; color: #1a7c35; border: 1px solid #b7dfc0; }
.sec-badge.pend  { background: #fff8e6; color: #9a6c00; border: 1px solid #f5d87a; }
.sec-badge.info  { background: #e6f1fb; color: #185fa5; border: 1px solid #b5d4f4; }
.sec-badge.vazio { background: #f0f4fa; color: #888;    border: 1px solid #c8d8ea; }

.sec-arrow {
    color: #1e5a9c;
    font-size: 11px;
    margin-left: 4px;
    flex-shrink: 0;
}

.sec-body {
    padding: 12px 14px;
    background: #fff;
}

.ovfl { overflow-x: auto; }

/* Tabelas de configuração */
.table-config { width: 100%; border-collapse: collapse; font-size: 12px; border-spacing: 0; border-radius: 6px; overflow: hidden;}
.table-config th { padding: 7px 8px; border: 1px solid #b0c8e8; text-align: center; font-weight: bold; font-size: 12px; color: #fff; white-space: nowrap; }
.table-config td { padding: 5px 7px; border: 1px solid #d0e0f0; vertical-align: middle; color: #1a3a6a; }
.table-config td input[type=text],
.table-config td input[type=number],
.table-config td select { border: 1px solid #9ab8d8; border-radius: 2px; padding: 3px 6px; font-size: 12px; color: #1a3a6a; background: #fff; width: 100%; }

.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 5px; flex-wrap: wrap; font-family: Arial, sans-serif; margin-top: 10px;
}
.page-btn {
    border: none; background-color: #f0f0f0; color: #333;
    padding: 6px 12px; border-radius: 6px; cursor: pointer;
    transition: all 0.2s ease; font-size: 12px;
}
.page-btn:hover { background-color: #6795CA; color: #fff; }
.page-btn.active { background-color: #6795CA; color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: default; }

/* Select2 customizado */
.select2-container--bootstrap4 { font-size: 12px !important; vertical-align: top !important; }
.select2-container--bootstrap4 .select2-selection--single {
    height: 26px !important;
    line-height: 26px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    border: 1px solid #4A8FD1 !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    font-size: 12px !important;
    color: #495057 !important;
    padding: 0 24px 0 6px !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    height: 26px !important;
    top: 0 !important;
    right: 2px !important;
    width: 18px !important;
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    margin-top: 0 !important;
    top: auto !important;
}
.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    height: 24px !important;
    font-size: 11px !important;
    padding: 2px 6px !important;
}
.select2-container--bootstrap4 .select2-results__options .select2-results__option {
    font-size: 12px;
    padding: 4px 8px;
    line-height: 1.4;
}
.select2-container--bootstrap4 .select2-results__option--highlighted {
    background-color: #1e5a9c !important;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection,
.select2-container--bootstrap4.select2-container--open .select2-selection {
    border-color: #1e5a9c !important;
    box-shadow: 0 0 0 0.15rem rgba(30,90,156,.2) !important;
}
/* Campo readonly visual */
.campo-readonly {
    background: #f0f6ff;
    border: 1px solid #dde6f0;
    border-left: 3px solid #1e5a9c;
    border-radius: 0 4px 4px 0;
    padding: 0 8px;
    font-size: 12px;
    color: #333;
    height: 26px;
    display: flex;
    align-items: center;
}

#modalAviso_overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);z-index:9998;}
#modalAviso_box{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:520px;max-height:80vh;background:#FFFFFF;border-radius:8px;box-shadow:0 5px 30px rgba(0,0,0,0.3);z-index:9999;font-family:Arial,Helvetica,sans-serif;flex-direction:column;}
#modalAviso_header{background:#dc3545;padding:12px 20px;display:flex;justify-content:space-between;align-items:center;border-radius:8px 8px 0 0;flex-shrink:0;}
#modalAviso_header span{color:#FFFFFF;font-size:16px;font-weight:bold;}
#modalAviso_header a{color:#FFFFFF;font-size:18px;font-weight:bold;text-decoration:none;cursor:pointer;opacity:0.8;}
#modalAviso_header a:hover{opacity:1;}
#modalAviso_body{padding:20px;text-align:center;font-size:13px;color:#333333;line-height:1.6;overflow-y:auto;max-height:calc(80vh - 110px);flex:1;}
#modalAviso_footer{padding:12px 20px;text-align:center;border-top:1px solid #EEEEEE;flex-shrink:0;}
#modalAviso_btn{background:#dc3545;color:#FFFFFF;border:none;border-radius:4px;padding:8px 30px;font-family:Arial,Helvetica,sans-serif;font-size:13px;cursor:pointer;}
#modalAviso_btn:hover{background:#c82333;}

/* -------------------------------------------------------
   BARRA DE PROGRESSO RAC
------------------------------------------------------- */
.icone-progress {
    display: flex;
    gap: 4px;
    margin: 4px 0 12px 0;
    height: 5px;
}

.icone-progress-step {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: #dde6f0;
    transition: background 0.3s;
}

.icone-progress-step.feito  { background: #28a745; }
.icone-progress-step.atual  { background: #1e5a9c; }

@keyframes raa_rac-spin {
    to { transform: rotate(360deg); }
}

.icone-loading {
    text-align: center;
    padding: 40px;
    color: #1e5a9c;
    font-size: 13px;
}

.icone-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #c8d8ea;
    border-top-color: #1e5a9c;
    border-radius: 50%;
    animation: raa_rac-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.badge-verde    { background: #e6f4ea; color: #1a7c35; border: 1px solid #b7dfc0; }
.badge-amarelo  { background: #fff8e6; color: #7a5200; border: 1px solid #f5d87a; }
.badge-vermelho { background: #fde8e8; color: #a32d2d; border: 1px solid #f5b7b7; }
.badge-cinza    { background: #f0f4fa; color: #444;    border: 1px solid #c8d8ea; }

/* -------------------------------------------------------
   TOTALIZADORES FORNECEDORES
------------------------------------------------------- */
.tot-fornec {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}
.tot-card {
    background: #f0f6ff;
    border: 1px solid #c8d8ea;
    border-radius: 6px;
    padding: 6px 14px;
    text-align: center;
    min-width: 80px;
}
.tot-card.ok { background: #e6f4ea; border-color: #b7dfc0; }
.tot-card .tot-num { font-size: 18px; font-weight: bold; color: #1e5a9c; }
.tot-card.ok .tot-num { color: #1a7c35; }
.tot-card .tot-lbl { color: #888; font-size: 10px; }


.alerta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: bold;
}
.alerta-item.warn { background: #fde8e8; border: 1px solid #f5b7b7; color: #a32d2d; }
.alerta-item.info { background: #e6f1fb; border: 1px solid #b5d4f4; color: #0c447c; }
.alerta-icone {
    width: 14px; height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    color: #fff;
}
.alerta-icone.warn { background: #dc3545; }
.alerta-icone.info { background: #1e5a9c; }

/* -------------------------------------------------------
   HOVER NAS LINHAS DA TABELA DE FORNECEDORES
------------------------------------------------------- */
#tbodyFornecedores tr:hover td {
    background: #e4eff9 !important;
    transition: background 0.12s;
}