*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body{
    background-color: #f1f5f9;
}

.container{
	max-width: 1280px;
	padding: 0 2%;
	margin: 0 auto;
}

.flex{
	display: flex;
	flex-wrap: wrap;
}

.w30{
	width: 30%;
}

.w50{
	width: 50%;
}

.w70{
	width: 70%;
}

.right{float: right;}

.left{float: left;}

.clear{clear: both;}

/*404*/
section.error404{
  min-height: 400px;
  text-align: center;
  display: flex;
  align-items: center;
}

section.error404 h2{
  margin-bottom: 10px;
  color: #00366F;
  font-size: 28px;
}

section.error404 a{
  color: #00366F;
}
/**/

/*Pagina de Login*/
.login-wraper{
	display: flex;
	height: 100vh;
}

.login-right{
	width: 50%;
}

.login-text{
	margin-top: 50px;
}

.login-text h2{
	color: #315cad;
}

.login-text p{
	color: #495269;
}

.bg-login{
	background-image: url("../assets/bg-login.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	width: 100%;
	height: 100%;
}

section.form-login{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 100px 20px;
	width: 50%
}

.form-titlle{
    text-align: center;
    margin-bottom: 20px;
}

.form-titlle img{
    max-width: 220px;
	width: 100%;
}

section.form-login .center{
	width: 100%;
	max-width: 500px;
}

.login-form {
    width: 100%;
    padding: 2em 0;
    position: relative;
    background-color: white;
    border-radius: 10px;
}

.form-login .flex-row{
    margin-bottom: 20px;
}

.form-login .flex-row label{
    color: #969eab;
	font-size: 14px;
}

.form-login .flex-row-remember label{
	color: #969eab;
}

.form-login .flex-row input,.form-login select,
.form-login input[type=submit]{
    padding: 8px;
    height: 40px;
    width: 100%;
    border-radius: 4px;
    margin-top: 10px;
}

.form-login input[type=email],.form-login input[type=password]{
	background-color: #f3f2f5;
	border: 1px solid #ebebed;
	font-size: 15px;
}

.form-login .flex-row-remember input[type=checkbox]{
    border-radius: 4px;
    margin-bottom: 10px;	
}

.form-login .flex-row-remember label{
	color: #5b656b;
}

.form-login input[type=submit]{
    color: white;
    background-color: #315cad;
    border: 0;
    font-size: 18px;
    cursor: pointer;
	transition: 300ms;
}

.form-login input[type=submit]:hover{
    background-color: #274f99;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px -1px, rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
}

.form-links{
    margin-top: 20px;
    text-align: center;
}

.form-links a{
    color: #171810;
}

.form-links p{
    margin-bottom: 10px;
    color: #5b656b;
}

.erro-box{
    background-color: #f8d7da;
    padding: 10px;
    width: 100%;
	max-width: 500px;
    text-align: center;
    border-radius: 4px;
    color: #a22029;
    border: 1px solid #f5c2c7;
    font-size: 17px;
    margin-bottom: 20px;
}

.success-box{
    background-color: #d1e7dd;
    padding: 14px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    color: #0f5132;
    border: 1px solid #badbcc;
    font-size: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
}
/**/

/*Estilo do main*/
html,body{
	height: 100%;
}

.clear{
	clear: both;
}

/*Header alterado*/

.top-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: #417eb8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 1000;
}

.header-left{
    display: flex;
    align-items: center;
}

.logo-header img{
    height: 30px;
    margin-left: 20px;
}

/*Trial Bar*/

.trial-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	background: #fff7ed;
	color: #9a3412;
	border-bottom: 1px solid #fed7aa;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 8px 15px;
    font-size: 14px;
    z-index: 1100;
}

.trial-bar strong{
    font-weight: 700;
}

.btn-upgrade{
    background: #f97316;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-upgrade:hover{
    transform: translateY(-1px);
	background: #ea580c;
}

.trial-bar + .top-header {
    top: 40px; /* altura da barra */
}

/**/


/*Sidebar*/

	.sidebar.active{
		left: 0;
	}

div.sidebar{
    width: 220px;
    background: #f5f7fa;
    height: calc(100% - 95px);
    position: fixed;
    top: 55px;
    left: 0;
    overflow-y: auto;
	overflow-x: hidden;
	transition: width 0.3s;
}


div.sidebar-wraper{
	width: 220px;
}

div.sidebar::-webkit-scrollbar {
    width: 10px;               /* width of the entire scrollbar */
  }
  
  div.sidebar::-webkit-scrollbar-track {
    background: white;       /* color of the tracking area */
  }
  
  div.sidebar::-webkit-scrollbar-thumb {
    background-color: #8a847e;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 1px solid #d6d6d6;  /* creates padding around scroll thumb */
  }

div.topo{
	background: #417eb8;
	text-align: center;
	padding: 20px 10px;
	height: 55px;
}

div.topo a img{
	max-width: 200px;
}

div.menu ul{
	list-style-type: none;
	width: 100%;
	padding: 0;
}

div.menu ul a{
	text-decoration: none;
}

div.menu ul li{
	font-size: 16px;
	color: #2c2c2c;
	width: 100%;
}

div.menu ul li .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 6px;
    position: relative;
    transition: background 0.3s;
}

div.menu ul li .menu-item{
    width: 100%;
    box-sizing: border-box;
	padding: 20px 30px; /* controla o espaçamento lateral */
}

div.menu ul li span{
	color: #2c2c2c;
	font-size: 14px;
	margin-left: 10px;
}

div.menu ul li:hover .menu-item {
    background: #e6e6e6;
}

div.menu ul li:hover .menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #f05625;
    border-radius: 4px 0 0 4px;
}

div.menu ul li:hover i{
	color: #f05625;
	transition: 0.6s;
}

div.menu ul li:hover span{
	font-weight: 700;
}

div.menu ul li.active span{
	font-weight: 700;
}

div.menu ul li.active .menu-item{
	background: #e6e6e6;
}

div.menu ul li.active .menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #f05625;
    border-radius: 4px 0 0 4px;
}

div.menu ul li.active i{
	color: #f05625;
}
/**/

/*Sidebar fechada*/

.sidebar-closed .sidebar{
    width: 0;
}

.sidebar-closed .main-content{
    margin-left: 0;
    width: 100%;
}

/*Main content*/

div.main-content{
    margin-left: 220px;
    margin-top: 55px;
    padding: 20px;
    min-height: calc(100vh - 55px);
	width: calc(100% - 220px);
	transition: all 0.3s;
}

body.has-trial .main-content {
    margin-top: 95px;
}

body.has-trial .sidebar {
    top: 95px; /* 40px (trial) + 55px (header) */
}

header{
	background: #417eb8;
	padding: 20px 15px;
	height: 55px;
	width: 100%;
	z-index: 1000;
	top: 0;
    left: 0;
	position: fixed;
}

.mobile-icon{
	float: left;
}

.mobile-icon h2{
	margin-left: 15px;
	font-weight: normal;
	font-size: 20px;
	color: white;
	cursor: pointer;
}

.pesquisa-campo{
	float: right;
    display: flex;
    align-items: center;
    cursor: pointer;
	position: relative;
}

.pesquisa-campo a.link-ajuda{
    padding-right: 10px;
	margin-right: 10px;
    color: white;
	font-size: 18px;
	border-right: 1px solid #eeeeee4f;
}

.pesquisa-campo p{
    margin-left: 5px;
    color: white;
	font-size: 15px;
}

.pesquisa-campo img{
	max-width: 25px;
}

.dropdown{
	position:absolute;
	top:30px;
	width: 180px;
	left:-50px;
	background-color: white;
	z-index: 999;
	list-style-type: none;
	border-radius: 4px 0 4px 4px;
	box-shadow: 1px -1px 16px -1px rgba(40,40,40,0.61);
	display: none;
}

.dropdown li.nome{
	text-align: center;
	color: #2d3035;
	padding-top: 10px;
	cursor: auto;
	font-size: 15px;
}

.dropdown li.cargo{
	text-align: center;
	color: #9a9a9a;
	font-size: 13px;
	margin-bottom: 10px;
	cursor: auto;
}

.dropdown li.link{
	border-top: 1px solid #ccc;
	padding: 10px 8px;
	font-size: 13px;
}

.dropdown li.link:hover{
	background-color: #f1f1f1;
}

.dropdown a{
	color: #666;
	text-decoration: none;
}

.dropdown li.link i{
	margin-right: 10px;
}

/**/

/*Content1*/

.content1{
    width: 100%;
    padding: 30px 80px;
    box-sizing: border-box;
}

.w100{width: 100%;}
.w50{width: 49%;}
.w80{width: 80% !important;}
.w20{width: 20% !important;}
.w10{width: 10% !important;}
.w5{width: 5% !important;}
.left{float: left;}
.right{float: right;}
.w33{width: 32%;}
.margin{margin: 0 2%;}
.center-table{text-align: center !important;}

.box-content{
	background: white;
	border: 1px solid #ebebeb;
	padding: 30px;
	margin-bottom: 20px;
}

.box-content h2{
	color: #082e4f;
	font-size: 20px;
	font-weight: normal;
}

.box-content p{
	color: #b2b2b2;
	font-size: 15px;
	font-weight: normal;
	margin-top: 10px;
}

/**/

/*Breadcrumbs*/
.breadcrumbs{
	margin-bottom: 10px;
}

.breadcrumbs a{
	text-decoration: none;
	color: rgb(97, 97, 97);
	font-size: 13px;
}

.breadcrumbs span{
	color: rgb(97, 97, 97);
}
/**/

/*Pedidos dentro da rota*/

.pedido-card{
	border-style: double;
	border-color: #417eb8;
	padding: 20px;
	border-radius: 8px;
	margin: 10px 0 40px 0;
}

.pedido-card .pedido-resumo span{
	float: right;
	font-weight: bold;
}

.pedido-card p{
	color: #282828;
}

.cupom-pedido{grid-area: "cupom-pedido";}
.cliente-pedido{grid-area: "cliente-pedido";}
.local-pedido{grid-area: "local-pedido";}
.endereco-pedido{grid-area: "endereco-pedido";}
.previsao-pedido { grid-area: "previsao-pedido"; }
.vendedor-pedido { grid-area: "vendedor-pedido"; }

.grid-pedidos{
	display: grid;
	grid-template-areas:
		"cupom-pedido cliente-pedido"
		"local-pedido endereco-pedido"
		"previsao-pedido vendedor-pedido";
	gap: 8px 16px;
	align-items: center;
}

.btn-toggle h2{
	border-bottom: 1px solid #ccc;
	background-color: #F3F4F6;
	font-size: 15px;
	font-weight: bold;
	padding: 5px;
	color: #417eb8;
	width: 100%;
	cursor: pointer;
}

.btn-toggle i{
	font-size: 20px;
}

.pedido-itens{
	display: none;
	margin-top: 10px;
	text-transform: capitalize;
}

.motorista-select{
	margin-top: 20px;
}

.motorista-select select{
	margin-top: 10px;
}

.btn-rota{
	color: white !important;
    background-color: #417eb8 !important;
    border: 0 !important;
    font-size: 16px !important;
    margin-top: 30px !important;
    cursor: pointer !important;
	padding: 8px 16px !important;
	border-radius: 4px !important;
	width: auto !important;
}

.btn-rota:hover
{
	background-color: #f05625 !important;
}

/**/


/*Entregas - motorista*/

.entregas-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.entregas-flex {
  display: flex;
  align-items: center;
  justify-content: space-between; /* botão vai para a direita */
  flex-wrap: nowrap; /* mantém lado a lado */
}

.entregas-info {
  flex: 1;
  padding-right: 15px;
  border-right: 1px solid #ccc;
}

.entregas-info p{
	color: #282828;
}

/* Grid para organizar os textos */
.grid-entregas {
  display: grid;
  grid-template-columns: 1fr auto; /* primeira coluna ocupa espaço, segunda encolhe */
  grid-template-areas:
    "id-entrega total-entrega"
    "cliente-entrega cliente-entrega"
    "regiao-entrega local-entrega"
    "status-entrega status-entrega";
  gap: 6px;
}

.id-entrega { grid-area: id-entrega; }
.total-entrega { grid-area: total-entrega; text-align: right; }
.cliente-entrega { grid-area: cliente-entrega; }
.regiao-entrega { grid-area: regiao-entrega; }
.local-entrega { grid-area: local-entrega;}
.status-entrega { grid-area: status-entrega; font-size: 14px; color: #555; }

/* Botão */
.btn-details {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 15px;
}

.btn-details a {
  text-decoration: none;
  padding: 8px 12px;
  color: white;
  border-radius: 4px;
  background-color: #417eb8;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  transition: 0.3s;
}

.btn-details a:hover{
  background-color: #f05625;
}

/**/

/*Entrega Single*/

.pedido-detalhes {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
}

.pedido-detalhes h2{
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
	color: #282828 !important;
	margin-bottom: 10px;
}

.pedido-detalhes p{
	color: #282828 !important;
	margin: 0 !important;
}

.tabela-itens {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.tabela-itens th, .tabela-itens td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
	text-transform: capitalize;
}

.tabela-itens th {
    background: #f5f5f5;
}

.tabela-itens input[type = checkbox]{
	width: 18px;
	height: 18px;
}

.pedido-detalhes button{
	color: white !important;
	background-color: #28a745;
	border: none !important;
}

.pedido-detalhes button:hover{
	background-color: #218838 !important;
}

.pedido-detalhes button.init-entrega{
	background-color: #f1c40f;
}

.pedido-detalhes button.init-entrega:hover{
	background-color: #e0a800 !important;
}

/*grid-detalhes*/
.detalhes-grid {
    display: grid;
    grid-gap: 10px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}

/* Linhas que possuem dois elementos lado a lado */
.detalhes-grid .linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Espaço entre elementos dentro das linhas */
.detalhes-grid .linha p {
    margin: 0;
    flex: 1;
}

/* Endereço e observação ocupam largura total */
.detalhes-grid .endereco,
.detalhes-grid .obs {
    grid-column: 1 / -1;
}

.detalhes-grid div {
    color: #282828;
}

/* Ícone */
.detalhes-grid p.no-prazo i {
    color: #1b5e20;
}

.detalhes-grid p.hoje i {
    color: #f57f17;
}

.detalhes-grid p.atrasado i {
    color: #c62828;
}


/* Cores dinâmicas */
p.no-prazo {
    background-color: #eafbea;
    border: 1px solid #66bb6a;
}

p.hoje {
    background-color: #fff8e1;
    border: 1px solid #fbc02d;
}

p.atrasado {
    background-color: #ffebee;
    border: 1px solid #ef5350;
}

/**/

/*Adiciona e Remove Campo*/

.item-linha {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.form-group.w25 { flex: 0 0 25% !important; }
.form-group.w40 { flex: 0 0 40% !important; }
.form-group.w10itens { flex: 0 0 10%; text-align: center; }

.checkbox-group {
    display: flex;
    gap: 8px;
}

.remover-campo {
	text-align: center;
    background-color: #e74c3c;
    border: none;
    color: white !important;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.remover-campo:hover {
    background-color: #c0392b !important;
}

/**/

/*Devolução de Produtos*/

button.devolucao{
	color: white !important;
	cursor: pointer;
	background-color: #C62828;
	transition: 3ms ease;
}

button.devolucao:hover{
	background-color: #b62222;
}

.modal {
	display: none;
    position: fixed;
    z-index: 999;
    padding-top: 150px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
	overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: auto;
	overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    max-width: 800px;
	max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close:hover {
    color: #f44336;
}

.btn-confirmar {
    background: #2A6EF5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-confirmar:hover {
    background: #1E54B7;
}

/**/

/*Visao Geral*/

.painel-entregadores h2 {
    margin-bottom: 20px;
    color: #003366;
    font-size: 22px;
}

.tabela-painel th, .tabela-painel td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center !important;
	border: 1px solid #082e4f;
}

.tabela-painel th {
    background: #082e4f;
    color: #fff;
    font-weight: bold;
}

.tabela-painel tr:hover {
    background: #f8f9fa;
}

.barra {
    width: 100%;
    background: #e9ecef;
    border-radius: 20px;
    height: 8px;
    position: relative;
}

.progresso {
    height: 8px;
    border-radius: 20px;
    background: linear-gradient(90deg, #28a745, #007bff);
}

.porcentagem {
    font-size: 12px;
    margin-left: 5px;
    color: #555;
}

.resumo-totais {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.box-info {
    flex: 1 1 200px;
    text-align: center;
    padding: 18px;
    border-radius: 8px;
    color: white;
	transition: 0.2s;
}

.box-info:hover{
	transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.verde { background: #16a34a; color: white;}
.azul { background: #3b82f6; color: white;}
.laranja { background: #f97316; color: white;}
.cinza { background: #64748b; color: white;}

.lista-entregadores {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lista-tittle{
	font-size: 18px;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

.card-entregador {
    border: 1px solid #bfdbfe;
	color: #1e3a8a;
    border-radius: 10px;
    padding: 15px;
	background-color: #eff6ff;
}

.topo-card{
	font-size: 14px;
}

.card-entregador-recolhimento{
    border: 1px solid #fed7aa;
	color: #9a3412;
    border-radius: 10px;
    padding: 15px;
	background-color: #fff7ed;
}

.card-entregador-pedidos-entregues{
    border: 1px solid #bbf7d0;
	color: #166534;
    border-radius: 10px;
    padding: 15px;
	background-color: #f0fdf4;
}

.pedido-aberto-card{
	background-color: white;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	border: 1px solid #ddd;
	margin-top: 10px;
	border-radius: 4px;
	color: #1f2937;
}

.pedido-card-topo {
    padding: 12px 15px;
    cursor: pointer;
}

.linha-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-esquerda {
    display: flex;
    gap: 10px;
    font-weight: 600;
	font-size: 15px;
}
.info-direita {
    display: flex;
    align-items: center;
    gap: 8px;
}
.linha-secundaria {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

.status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}
.status.laranja { background: #FFF8E1; color: #8A6D3B; border: 1px solid #8A6D3B; }
.status.cinza { background: #E3F2FD; color: #1565C0; border: 1px solid #1565C0;}
.status.vermelho { background: #FFF3E0; color: #EF6C00; border: 1px solid #EF6C00;}
.status.verde { background: #E8F5E9; color: #2E7D32; border: 1px solid #2E7D32;}

.seta {
    transition: transform 0.3s;
}

.rotaciona {
    transform: rotate(180deg) !important;
}


.sem-pedidos p{
    font-style: italic;
    color: #666;
}

.itens-pedido{
	padding: 10px;
}

.subtable{
	border: 1px solid #ccc;
	margin-top: 0 !important;
}


/**/

/*Impressões*/

.check-pedido{
	width: 18px;
	height: 18px;
}

.btn-imprimir{
	background-color: #417eb8;
	color: white !important;
	font-size: 16px !important;
}

.btn-imprimir:hover{
	background-color: #f05625 !important;
}

/**/


/*RESTANTE DO PAINEL*/

.atividade1 h2,.atividade2 h2,.atividade3 h2,.atividade4 h2,.atividade1 p,.atividade2 p,.atividade3 p,.atividade4 p{
	color: white;
	font-size: 19px;
}

.atividade1{
	background: linear-gradient(135deg, #eab308, #facc15);
	border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.atividade2{
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.atividade3{
	background: linear-gradient(135deg, #16a34a, #22c55e);
	border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.atividade4{
	background: linear-gradient(135deg, #dc2626, #ef4444);
	border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.chart{
	max-height: 400px;
	position: relative;
	height: 400px;
}

.chart_regiao{
	max-height: 500px;
	height: 100%;
	width: 100%;
}

.chart_regiao canvas{
	width: 100%;
}

.chart_regiao h2{
	font-size: 17px;
}

.chart h2{
	font-size: 17px;
}

.align-chart{
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.box-content table{
	width: 100%;
	margin-top: 20px;
	border-collapse: collapse;
	font-size: 14px;
}

.box-content table a.az{
	color: #417eb8;
	transition: 0.4s;
}

.box-content table a.az:hover{
	color: #f05625;
}

.wraper-table{
	overflow-x: auto;
}

.paginacao{
	text-align: center;
	margin-top: 20px;
}

.paginacao a{
	margin: 0 8px;
	display: inline-block;
	padding: 6px;
	text-decoration: none;
	color: #666;
	border-radius: 4px;
	box-shadow: 4px 3px 6px 1px rgba(138, 138, 138, 0.733);
	transition: 300ms;
	color: white;
	background-color: #417eb8;
	font-weight: bold;
}

.paginacao a:hover{
	background-color: #f05625;
}

.paginacao a.pag-selected{
	background-color: #082e4f;
	transition: 300ms;
}

.paginacao a.pag-selected:hover{
	background-color: #f05625;
	color: white;
}

.box-content table th{
	text-align: initial;
	border-bottom: 2px solid #282828;
	padding: 8px;
	width: 50%;
}

.box-content table td{
	padding: 8px;
}

.box-content table.even tr:nth-child(even) {background-color: #dfdfdf;}
.box-content table.even tr:nth-child(odd) {background-color: #f7f7f7;}
.box-content table.even tr:nth-child(1) {background-color: white}
.box-content table.odd tr:nth-child(odd) {background-color: #e1e3e4;}
.box-content table.odd tr:nth-child(even) {background-color: #f7f7f7;}
.pago i,.aprovada i{color: #8bc34a;}
.pendente i{color: #ffcd07;}
.cancelado i,.cancelada i{color: #dc3545;}
.enviado i{color: #01579b;}
.entregue i,.concluida i{color: #1b5e20;}

.btn-edit{
	color: #0dcaf0;
}

.btn-delete{
	color: #dc3545;
	transition: 0.4s;
}

.btn-delete:hover{
	color: #ff0019;
}

.blocked{
    color: #dc35469a;
    cursor: not-allowed;
}

.btn-config{
	color: white;
	background-color: #03FA6E;
	text-decoration: none;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
}

.btn-config:hover{
	background-color: #02ee68;
}

.box-content form{
	margin: 40px 0;
}

.box-content .form-group{
	margin: 15px 0;
}

.box-content .form-group img{
	width: 100%;
	max-width: 300px;
}

.box-content .form-group img.mobile{
	max-height: 450px;
}

.box-content .form-group img.colecao_edit{
	width: 240px;
}

.box-content .form-group input[type=checkbox]{
	width: 20px;
	height: 20px;
}

.checkbox label{
	padding-left: 5px;
	margin-bottom: 0 !important;
}

.checkbox{
	display: flex;
	align-items: center;
}

.box-content .form-group .counter{
	margin-top: 5px;
	color: #454545;
	font-size: 14px;
}

.card-tittle{
	width: 100%;
	padding: 8px 0;
	font-size: 20px;
	color: #454545;
	margin: 10px 0;
	border-bottom: 2px solid #454545;
}

.imagens-produto{
	display: flex;
	flex-wrap: wrap;
}

.img-galeria-single{
	width: 18%;
	min-height: 200px;
	margin: 10px 1%;
	padding: 4px;
	border: 1px solid #ccc;
	border-radius: 4px;
	display: flex;
  	justify-content: center;
	align-items: center;
	position: relative;
}

.overlay{
	background-color: black;
	opacity: 0.6;
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 4px;
	visibility: hidden;
	opacity: 0;
	transition: 300ms;
}

.btn-delete-img{
	text-align: center;
	position: absolute;
	padding: 8px;
	visibility: hidden;
	opacity: 0;
	transition: 300ms;
}

.btn-delete-img a{
	color: #dc3545;
	transition: 300ms;
}

.btn-delete-img a:hover{
	color: red;
}

.img-galeria-single:hover .overlay{
	visibility: visible;
	opacity: 0.6;
}

.img-galeria-single:hover .btn-delete-img{
	visibility: visible;
	opacity: 1;
}

.new-img-galeria{
	width: 18%;
	margin: 10px 1%;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #454545;
	display: flex;
}

.add-img-galeria span.add-img-texto{
	font-size: 20px;
	display: none;
}

.inline{
	display: inline-block;
}

.imagens-produto input{
	display: none;
}

.img-galeria-single{
	font-size: 40px !important;
}

.add-img-galeria{
	cursor: pointer;
	background-color: #F1F1F1;
	color: #57575794 !important;
	display: grid !important;
	text-align: center;
	border: 2px dashed #ccc !important;
	transition: color 300ms ease-in-out, background-color 300ms ease-in-out, border 300ms ease-in-out;
}

.add-img-galeria:hover{
	background-color: #ddd;
	color: #575757 !important;
	border: 2px dashed #57575794 !important;
}

.box-content .form-group p.aviso_edit{
	color: #282828;
	font-size: 15px;
	font-weight: bold;
}

.box-content .form-group a.link{
	font-size: 14px;
	color: #454545;
}

.box-content .form-group a.link:hover{
	color: #02ee68;
}

.box-content .form-group img.mini-banner{
	width: 60%;
	margin-top: 20px;
}

.box-content form label{
	font-size: 15px;
	display: block;
	color: #282828;
	margin-bottom: 5px;
}

.box-content form input[type=text],
.box-content form input[type=email],
.box-content form input[type=number],
.box-content form input[type=password],
.box-content select,
.box-content button,
.box-content textarea
{
	display: block;
	width: 100%;
	height: 40px;
	padding-left: 8px;
	color: #282828;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
}

.form-group input[type=date]{
	height: 40px;
	padding-left: 8px;
	color: #282828;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
}

.box-content form button{
	cursor: pointer;
	font-size: 16px;
	transition: 300ms;
}

.box-content form button:hover{
	background-color: #dbdada;
}

.box-content form input[type=file]{
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 100%;
	padding: 10px;
}

.box-content form input[type=color]{
	width: 40px;
	height: 40px;
	border-radius: 4px;
	border: 1px solid #ccc;
}

.box-content textarea
{
	height: 80px;
	padding: 8px;
	resize: vertical;
}

.box-content form input[type=submit]
{
	color: white;
    background-color: #417eb8;
    border: 0;
    font-size: 16px;
    margin-top: 30px;
    cursor: pointer;
	padding: 8px 16px;
	border-radius: 4px;
	transition: 0.3s;
}

.box-content form input[type=submit]:hover
{
	background-color: #f05625;
}

.box-content a.voltar{
	padding:6px 12px;
	background:#417eb8;
	color:white;
	text-decoration:none;
	border-radius:5px;
	transition: 0.3s;
	cursor: pointer;
	font-size: 14px;
}

.box-content a.voltar:hover{
	background-color: #f05625;
}

.lucro span{
	display: block;
	width: 100%;
	height: 40px;
	color: #282828;
	font-size: 16px;
	font-weight: bold;
}

/*Alertas*/
.box-alert{
	width: 100%;
	height: 40px;
}

.box-alert a{
	font-weight: bold;
}

.sucesso{
	background-color: #d1e7dd;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    color: #0f5132;
    border: 1px solid #badbcc;
    font-size: 17px;
}

.erro{
	background-color: #f8d7da;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    color: #a22029;
    border: 1px solid #f5c2c7;
    font-size: 18px;
}

.atencao{
	background-color: #fff3cd;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    color: #664d03;
    border: 1px solid #ffe69c;
    font-size: 18px;
}

.atencao a{
    color: #664d03;
}

/**/

.alert-limite {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb; /* cor principal */
    border-radius: 10px;
    padding: 14px 18px;
    margin: 15px 0;
    color: #1e293b;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.alert-icon {
    background: rgba(153, 153, 153, 0.2);
    padding: 8px;
    border-radius: 8px;
	color: #082e4f;
}

.alert-text {
    flex: 1;
}

.alert-text strong {
    font-size: 14px;
    display: block;
}

.alert-text p {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0;
}

.btn-gerenciar {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.2s;
	text-decoration: none;
}

.btn-gerenciar:hover {
    background: #eff6ff;
}

/**/

.new-product-button{
	width: 100%;
	text-align: right;
}

.new-product-button a{
	text-decoration: none;
	background-color: #417eb8;
	color: white;
	padding: 7px 12px;
	border-radius: 4px;
	transition: 0.3s;
}

.new-product-button a:hover{
	background-color: #f05625;
}

.dados-pedido{
	margin: 20px 0;
}

.dados-pedido p{
	color: #282828;
}


.date-filter input{
	height: 40px;
	padding-left: 8px;
	color: #282828;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
}

.date-filter label,.date-filter select{
	margin-right: 10px;
	font-size: 15px;
}

/**/

/*Reset Senha*/
.recover{
	color: #315cad;
	transition: 200ms;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}

.recover:hover{
	color: #274f99;
	text-decoration: underline;
}

.return-login{
	text-align: center;
	width: 100%;
	transition: 300ms;
	padding: 8px;
	border-radius: 4px;
	margin-top: 20px;
	color: #315cad;
	text-decoration: none;
	font-size: 17px;
	display: block;
}

.return-login:hover{
	background-color: #ebebeb8c;
}
/**/


@media  screen and (max-width: 1113px) {
	#count_text{
		height: 150px;
	}
}

@media screen and (max-width: 1040px) {
	.date-filter{
		margin-bottom: 20px;
	}

	.modal-content {
    	width: 80%;
	}
}

@media screen and (max-width: 900px) {
	.login-right{
		display: none;
	}

	section.form-login{
	width: 100%
}
}	

@media screen and (max-width: 768px){
	.content1{
		width: 100%;
		left: 0;
		padding: 30px 10px;
	}

	header{
		width: 100%;
		left: 0;
	}

	.box-content{
		width: 100% !important;
	}

	.sidebar{
		position: fixed;
		left: -220px; /* escondida fora da tela */
		width: 220px;
		display: block;
		transition: left 0.3s;
	}

	div.main-content{
		width: 100%;
		position: absolute;
		left: 0;
		top: 0;
	}

	.margin{margin: 0 0 20px 0;}

	.box-content .form-group img.mini-banner{
		width: 100%;
	}

	.img-galeria-single{
		min-height: 30px;
	}

	/*Tela de Entregas*/
	.entregas-flex {
    flex-direction: column; /* empilha os elementos */
    align-items: flex-start;
  }

  .entregas-info {
    width: 100%;
    padding-right: 0;
    border-right: none;
    margin-bottom: 10px;
  }

  .grid-entregas {
    grid-template-columns: 1fr; /* tudo em uma coluna */
    grid-template-areas:
      "id-entrega"
      "total-entrega"
      "cliente-entrega"
      "regiao-entrega"
      "local-entrega"
      "status-entrega";
  }

  .total-entrega,
  .local-entrega {
    text-align: left; /* alinhar para esquerda no mobile */
  }

  .btn-details {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .btn-details a {
    width: 100%;
    text-align: center;
  }
	/**/

	/*Adiciona e remove campos*/
  		.item-linha {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        border: 1px solid #eee;
        padding: 10px;
        border-radius: 8px;
    }

    .form-group.w25,
    .form-group.w40,
    .form-group.w10itens {
        flex: 1 1 100%;
        text-align: left;
    }

    .remover-campo {
        width: 100%;
        padding: 10px;
        font-size: 15px;
    }
	/**/

}

@media screen and (max-width: 580px) {
	.date-filter label{
		display: inline-block;
		width: 100%;
		margin: 10px 0;
	}

	.detalhes-grid .linha {
        flex-direction: column;
        align-items: flex-start;
    }

    .detalhes-grid .linha p {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
	.grid-pedidos{
		display: block;
	}

	.pedido-card .pedido-resumo span{
		float: none;
		display: block;
		margin-top: 10px;
	}
}

@media screen and (max-width: 446px) {
	.box-alert{
		height: 60px;
	}

	.btn-confirmar {
		width: 100%;
	}
}

@media screen and (max-width: 395px) {
	.pedido-detalhes button{
		height: 60px;
	}
}

@media screen and (max-width: 390px) {
	.new-product-button{
		text-align: left;
		margin-top: 20px;
	}

	.pesquisa-campo a.link-ajuda{
		display: none;
	}

	.alert-icon {
		display: none;
	}
}

@media screen and (max-width: 348px) {
	.btn-toggle{
		text-align: center;
	}

	.pesquisa-campo img{
		display: none;
	}

	.alert-content {
		flex-direction: column;
	}

	.btn-gerenciar{
		width: 100%;
		text-align: center;
	}
}

@media screen and (max-width: 340px) {
	.date-filter{
		text-align: center;
	}

	.btn-rota{
		width: 100% !important;
	}
}

@media screen and (max-width: 330px) {
	.box-alert{
		height: 80px;
	}

	.pedido-detalhes button{
		height: 60px;
	}
}

@media screen and (max-width: 314px) {
	.pedido-detalhes button{
		height: 80px;
	}
}
/**/

/* ============================================
   ADIÇÕES AO CSS - NÃO MODIFICA O EXISTENTE
   Cole este conteúdo NO FINAL do style.css
   ============================================ */

/* Login footer */
.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 14px;
}

.login-footer p {
    margin-bottom: 5px;
    color: #666;
}

.login-footer strong{
	color: #315cad;
}

.login-footer small {
    color: #999;
}

/* Classe w15 para layout de itens */
.w15 {
    width: 15% !important;
}

/* Campo readonly visual */
input[readonly] {
    cursor: not-allowed;
}

/* Responsive additions for w15 */
@media screen and (max-width: 768px) {
    .w15 {
        width: 100% !important;
    }

	.w20{
		width: 100% !important;
	}
}

.disabled{
	opacity: .4;
	cursor: not-allowed;
}

.table-painel th{
    background: #0f2a44;
    color: #fff;
    font-weight: 500;
    padding: 10px;
	border: 1px solid #0f2a44;
}

.table-painel td{
    background: #fff;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.table-painel tr:hover td{
    background: #f8fafc;
}

.box-section{
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}

.section-title{
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.empty-state{
    text-align: center;
    padding: 15px;
    color: #64748b;
    font-style: italic;
}

.senha-info{
	color: #495269;
}

.senha-info ul{
	list-style-type: none;
}

.senha-info ul li{
	margin-bottom: 10px;
}


/**/

.msg-pagamento{
    display:none;
    margin: 35px 0 10px 0;
    padding:12px 16px;
    border-radius:8px;
    font-size:14px;
    font-weight:500;
}

.msg-pagamento.sucesso{
    display:block;
    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
}

.msg-pagamento.erro{
    display:block;
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fca5a5;
}

.msg-pagamento.aviso{
    display:block;
    background:#fef3c7;
    color:#92400e;
    border:1px solid #fcd34d;
}

/**/

/*modal*/
/* Overlay */
.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

/* Caixa */
.modal-box{
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    padding: 28px;
    position: relative;
    animation: fadeInModal .25s ease;
}

/* animação */
@keyframes fadeInModal{
    from{
        opacity:0;
        transform: translateY(15px) scale(.97);
    }
    to{
        opacity:1;
        transform: translateY(0) scale(1);
    }
}

/* fechar */
.modal-box .fechar{
    position: absolute;
    top: 16px !important;
    right: 35px !important;
    border: none;
    background: transparent !important;
    font-size: 28px !important;
    cursor: pointer;
    color: #64748b !important;
    transition: .2s;
	width: 10px !important;
	text-align: center !important;
}

.modal-box .fechar:hover{
    color: #0f172a;
}

/* título */
.modal-box h2{
    font-size: 24px;
    font-weight: 700;
    color: #082e4f;
    margin-bottom: 15px;
}

/* texto */
.modal-box p{
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 25px;
}

/* destaques */
.modal-box p b{
    color: #0f172a;
    font-weight: 700;
}

/* ações */
.acoes-modal{
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
}

/* botão cancelar */
.btn-cancelar{
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
    padding: 12px 20px !important;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
	width: auto !important;
}

.btn-cancelar:hover{
    background: #f8fafc;
}

/* botão confirmar */
.btn-confirmar{
    border: none;
    background: #2563eb;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 8px 20px rgba(79,70,229,.25);
	width: auto !important;
}

.btn-confirmar:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(70, 112, 229, 0.35);
}
/**/