/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap");

:root {
  --first-color: hsl(225, 95%, 56%);
  --black-color: hsl(225, 12%, 12%);
  --white-color: hsl(0, 0%, 100%);
  --text-color: hsl(225, 8%, 65%);
  --body-color: hsl(225, 100%, 99%);
  --body-font: "Montserrat Alternates", sans-serif;
  --biggest-font-size: 2.5rem;
  --tiny-font-size: .625rem;
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 3.5rem;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1120px;
  /*margin-inline: 1.5rem;*/
  
}

.section {
  height: 100vh;
  padding-block: 2.5rem;
}

.section h1 {
  font-size: var(--biggest-font-size);
  color: var(--black-color);
  text-align: center;
}


/*=============== CARDS GEARS ===============*/

    /* Garantir que a imagem tenha a mesma altura do bloco de texto */
    .card .row.g-0 {
        align-items: stretch; /* Alinha os itens verticalmente */
    }
    .card .col-4 {
        display: flex;
        align-items: stretch; /* Faz a imagem estender-se para ocupar toda a altura */
    }
    .card .img-fluid {
        width: 100%;
        height: 100%; /* Faz a imagem ocupar toda a altura do contêiner pai */
        object-fit: cover; /* Cobre o espaço, cortando o excesso */
    }
    .card .card-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Distribui o conteúdo verticalmente */
    }



/*=============== NAVBAR HEADER ===============*/
/* Estilizar o ícone do toggler para branco */
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Ajustar a cor do botão toggler para combinar com o fundo */
.navbar-toggler {
	color: transparent;
	border-color: unset;
}
.navbar-toggler:focus {
	box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}
/* Estilizar os links do offcanvas */
.offcanvas-body .nav-link {
	color: #052749; /* Cor dos links no offcanvas */
}
.offcanvas-body .nav-link:hover {
	color: #0d6efd; /* Cor ao passar o mouse */
}




/*=============== NAVBAR MAGIC ===============*/
.navMagic {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  background-color: var(--black-color);
  width: 88%;
  margin-inline: auto;
  box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
  padding: 1rem 1.75rem;
  border-radius: 4rem;
  z-index: var(--z-fixed);
}

/* Isolamento de estilos somente dentro do menu */
.navMagic ul,
.navMagic ol,
.navMagic dl {
  margin: 0px !important;
  padding: 0px !important;
  list-style: none !important;
}

.navMagic li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.navMagic a {
  text-decoration: none !important;
  color: inherit !important;
}


.navMagic__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navMagic__link {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color .4s;
}

.navMagic__link:hover {
  color: var(--white-color);
}

/*=============== EXPAND LIST RENOMEADA ===============*/
.navMagic__expand {
  border: none;
  outline: none;
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  border-radius: 50%;
  cursor: pointer;
}

.navMagic__expand-icon {
  display: inline-block;
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform .4s;
}

.navMagic__expand-list {
  position: absolute;
  top: -3.5rem;
  left: 0;
  right: 0;
  background-color: var(--black-color);
  box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
  width: max-content;
  margin-inline: auto;
  padding: .5rem 1.5rem;
  border-radius: 4rem;
  display: flex;
  column-gap: 2rem;
  z-index: -1;
  overflow: hidden;
  transform: translateY(5rem) scale(.1);
  transition: transform .5s cubic-bezier(.5, 1.8, .4, .8);
}

.navMagic__expand-list li {
  transform: translateY(-3rem);
  transition: transform .4s;
}

.navMagic__expand-list li:nth-child(1) {
  transition-delay: .2s;
}

.navMagic__expand-list li:nth-child(2) {
  transition-delay: .3s;
}

.navMagic__expand-list li:nth-child(3) {
  transition-delay: .4s;
}

.navMagic__expand-link {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color .4s;
}

.navMagic__expand-link i {
  font-size: 1.5rem;
}

.navMagic__expand-link span {
  font-size: var(--tiny-font-size);
  font-weight: var(--font-semi-bold);
}

.navMagic__expand-link:hover {
  color: var(--white-color);
}

/* Show list */
.show-list,
.show-list li {
  transform: translateY(0);
}

/* Rotate icon */
.rotate-icon {
  transform: rotate(135deg);
}

/* Active link */
.active-link {
  color: var(--white-color);
}

@media screen and (min-width: 450px) {
  .navMagic {
    width: 350px;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }
}

/* Classes utilitárias para layouts de cards */
.cards-grid-1 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-grid-responsive { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
}
@media (max-width: 576px) {
  .cards-grid-responsive { grid-template-columns: 1fr; }
}

/* ===== Estilos exclusivos da página /home (dashboard) ===== */
.dashboard-container { max-width: 500px; }
.greeting { display: flex; align-items: center; margin-bottom: 20px; margin-top: 20px; }
.greeting img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px #eee; }
.greeting .text { margin-left: 15px; }
.greeting h3 { color: #0f1c3a; font-weight: 700; margin: 0; }
.greeting p { color: #13af96; font-size: 1rem; margin: 0; }
.stats { background-color: #fff; padding: 15px; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.stats .chart { height: 80px; background: linear-gradient(90deg, #af41f3 0%, #21cbe8 100%); border-radius: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 15px; }
.stats-item { background-color: #fff; border-radius: 12px; padding: 10px; text-align: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
.stats-item span { display: block; font-size: 1.2rem; font-weight: 700; color: #0f1c3a; }
.stats-item p { margin: 0; font-size: 0.9rem; color: #888; }
.cards { margin-top: 20px; }
.card { border-radius: 16px; text-decoration: none; padding: 20px; text-align: center; color: white; transition: all 0.3s ease; min-height: 120px; display: flex; flex-direction: column; justify-content: center; border: none; }
.card:hover { transform: translateY(-5px); box-shadow: 0 4px 20px rgba(47, 218, 186, 0.3); }
.card i { font-size: 2rem; }
.card .title { font-size: 1.1rem; font-weight: 600; }
.card .value { font-size: 2.1rem; font-weight: 700; }
@media (max-width: 576px) {
    .card { padding: 15px; min-height: 90px; }
    .card .value { font-size: 1.8rem; }
    .cards { width: 100%; margin: 0 auto; padding: 0; }
}
/* ===== Fim dos estilos exclusivos da página /home ===== */

/* Gradientes utilitários para backgrounds coloridos */
.bg-gradient-1 {
  background: linear-gradient(135deg, #2fdaba, #397493) !important;
  color: #fff !important;
}
.bg-gradient-2 {
  background: linear-gradient(135deg, #397493, #21cbe8) !important;
  color: #fff !important;
}
.bg-gradient-3 {
  background: linear-gradient(135deg, #2fdaba, #26386d) !important;
  color: #fff !important;
}
.bg-gradient-4 {
  background: linear-gradient(135deg, #26386d, #2fdaba) !important;
  color: #fff !important;
}
/* Adicione mais variações conforme desejar */

/* ===== Estilos exclusivos da página /movement ===== */
.card-section { margin-top: 25px; }
.card-section h3 { font-size: 1.5rem; font-weight: 600; color: #0f1c3a; margin-bottom: 15px; }
.card-section .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; max-width: 100%; }
.card.vh-modern { border-radius: 15px; padding: 20px; text-align: left; color: #fff; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.card.vh-modern:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(47, 218, 186, 0.3); }
.card.vh-modern p { margin: 8px 0; font-size: 1rem; line-height: 1.5; }
.card.vh-modern .highlight { color: #f18e30; font-weight: 700; }
.card.vh-modern .equipment-row { display: flex; align-items: center; margin-bottom: 15px; }
.card.vh-modern .image { width: 100px; height: 100px; background-color: #d1d1d1; border-radius: 8px; margin-right: 15px; background-size: cover; background-position: center; }
.card.vh-modern .equipment-name { font-size: 1.2rem; font-weight: 700; margin: 0; }
.card.vh-modern.card-equip { /* gradiente agora via classe utilitária */ }
.card.vh-modern.card-pedido { /* gradiente agora via classe utilitária */ }
@media (max-width: 900px) { .card-section .cards { grid-template-columns: 1fr; } .container { padding: 0 15px; } }
@media (max-width: 576px) { .container { padding: 0 10px; } .card { padding: 15px; min-height: 90px; } .card .value { font-size: 1.8rem; } }
.form-check { border: 1px solid #e9ecef; border-radius: 8px; padding: 15px; margin-bottom: 10px; transition: all 0.2s ease; }
.form-check:hover { border-color: #2fdaba; background-color: #f8f9fa; }
.form-check-input:checked + .form-check-label { color: #0f1c3a; font-weight: 600; }
.form-check-input:checked ~ .form-check { border-color: #2fdaba; background-color: #e8f5f3; }
.form-check-label { cursor: pointer; width: 100%; margin-left: 10px; }

/* Estilos para as tabs */
.nav-tabs .nav-link { color: #6c757d; border: none; border-bottom: 2px solid transparent; font-weight: 500; }
.nav-tabs .nav-link.active { color: #0f1c3a; border-bottom: 2px solid #2fdaba; background-color: transparent; }
.nav-tabs .nav-link:hover { color: #0f1c3a; border-bottom: 2px solid #2fdaba; }
.tab-content { padding-top: 20px; }
.nav-tabs .badge { font-size: 0.75rem; }

/* Estilos para os cards de pedidos */
.orders-grid { display: grid; gap: 15px; margin-bottom: 20px; }
.order-card { border: 1px solid #e9ecef; border-radius: 8px; padding: 15px; transition: all 0.2s ease; background: #fff; }
.order-card:hover { border-color: #2fdaba; box-shadow: 0 2px 8px rgba(47, 218, 186, 0.1); }
.order-card-header { display: flex; align-items: center; margin-bottom: 10px; }
.order-card-title { margin-left: 10px; cursor: pointer; font-size: 1rem; color: #0f1c3a; }
.order-card-title strong { color: #0f1c3a; }
.order-card-body { margin-left: 25px; }
.order-info { display: flex; flex-direction: column; gap: 5px; }
.info-item { font-size: 0.85rem; color: #666; display: flex; align-items: center; gap: 5px; }
.info-item i { color: #2fdaba; width: 16px; }

/* Paginação */
.pagination-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-top: 1px solid #e9ecef; }
.pagination-info { font-size: 0.9rem; color: #666; }
.pagination-controls { display: flex; align-items: center; gap: 10px; }
.pagination-pages { display: flex; gap: 5px; }
.page-number { padding: 5px 10px; border: 1px solid #dee2e6; border-radius: 4px; cursor: pointer; font-size: 0.9rem; background: #fff; }
.page-number.active { background: #2fdaba; color: #fff; border-color: #2fdaba; }

.badge { color: #fff !important; background: rgba(0,0,0,0.18) !important; }
.text-muted { color: #fff !important; }

/* Ajuste para o botão animado */
.btn-toggle-anim { margin-top: 18px; }

/* ===== Fim dos estilos exclusivos da página /movement ===== */

.btn-go-custom {
    background: #223160;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.2s;
}
.btn-go-custom:hover, .btn-go-custom:focus {
    background: #397493;
    color: #fff;
}
