:root {
  --txt-color-white: #fff;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  
  /* Variáveis para Dark Mode */
  --company-color: #3cbda1;
  --company-color-dark: #2ea574;
  --bg-color: #ffffff;
  --loader-bg: #ffffff;
  --card-bg: rgba(0, 0, 0, 0.125);
  --text-primary: #333333;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
  --card-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  --footer-bg: #f8f9fa;
  --nav-bg: #ffffff;
  --alert-bg: #d1ecf1;
  --alert-text: #0c5460;
  --breadcrumb-bg: transparent;
  --loader-bg: #ffffff;
  --modal-bg: #ffffff;
  --ticket-error: #e72929;
  --ticket-bg: #ffffff;
  --senha-bg: #a70000;

}

[data-theme="dark"] {
  --company-color: #3cbda1;
  --company-color-dark: #36c387;
  --bg-color: #000000;
  --loader-bg: #000000;
  --card-bg: #2d2d2d;
  --text-primary: #f0f0f0;
  --text-secondary: #cccccc;
  --border-color: #444444;
  --card-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  --footer-bg: #222222;
  --nav-bg: #333333;
  --alert-bg: #1e3a3f;
  --alert-text: #b8daff;
  --breadcrumb-bg: rgba(255, 255, 255, 0.05);
  --loader-bg: #000000;
  --modal-bg: #2d2d2d;
  --ticket-error: #ff6b6b;
  --ticket-bg: #2d2d2d;
  --senha-bg: #ffffffff;
}

.line-clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.align-text {
  float: left;
}

.fieldset-evaluation {
  padding: 10px;
  margin-top: 10px;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  transition: all 0.3s ease;
}

.evaluation-field > input {
  width: 100%;
  outline: none;
  font-size: 10pt;
  margin-right: 8px;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  padding: 5px 5px 5px 6px;
  background-color: var(--card-bg);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.button-evaluation {
  margin-top: 10px;
}

.button-evaluation > button {
  width: 47%;
  font-size: 9pt;
  padding: 4px 6px;
  border-radius: 3px;
  background-color: var(--company-color);
  border-color: var(--company-color);
  color: white;
  transition: all 0.3s ease;
}

.button-evaluation > button:first-child {
  margin-right: 2%;
}

.icon-color {
  color: var(--company-color) !important;
  transition: color 0.3s ease;
}

.label {
  color: var(--txt-color-white);
  border-radius: 3px;
  padding: 3px 20px;
  font-size: 11pt;
}

.label-primary {
  background-color: var(--primary);
}

.label-danger {
  background-color: var(--danger);
}

.label-success {
  background-color: var(--success);
}

.label-warning {
  background-color: var(--warning);
}

.label-info {
  background-color: var(--info);
}

* {
  font-family: "Calibri", sans-serif;
}

.align-item {
  text-align: center;
}

.align-item i {
  font-size: 28px;
}

.bca-color {
  color: var(--company-color) !important;
  transition: color 0.3s ease;
}

.dt-margim-bottom {
  margin-bottom: 8px !important;
}

.icon-ticket-code {
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.ticket-abbreviation {
  color: var(--ticket-error);
  font-weight: bold;
  transition: color 0.3s ease;
}

.ticket-abbreviation i {
  font-size: 16px;
}

.ico-detail {
  margin-left: 18px;
  margin-right: 18px;
}

.d-inherit {
  display: inherit;
}

.ico-ticket i {
  cursor: pointer;
  color: var(--text-secondary);
  float: right;
  font-weight: bold;
  font-size: 10pt;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.ico-ticket i:hover {
  color: var(--company-color);
}

.message-error {
  font-size: 10pt;
  text-align: center;
  color: var(--danger);
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-required {
  cursor: pointer;
  text-decoration: underline;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.login-required:hover {
  color: var(--company-color);
}

.logged-name {
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.profile-sub-nav {
  width: 100%;
  font-size: 10pt;
  text-align: center;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.text-align-center {
  text-align: center;
}

.m-bottom {
  margin-bottom: 10px;
}

.user-image {
  border: 3px solid var(--company-color);
  transition: border-color 0.3s ease;
}

.not-ticket {
  text-align: center;
  font-weight: 600;
  font-size: 11pt;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.chk-forgot {
  height: 24px;
  width: 16px;
  margin-right: 5px;
}

.bca-border-color {
  border-color: var(--company-color) !important;
  transition: border-color 0.3s ease;
}

.btn-color {
  background-color: var(--company-color) !important;
  border-color: var(--company-color);
  margin-top: 10px;
  float: right;
  transition: all 0.3s ease;
}

.btn-logged {
  width: 100%;
  margin-bottom: 6px;
  background-color: var(--company-color);
  border-color: var(--company-color);
  color: #FFF;
  transition: all 0.3s ease;
}

.bt-guest{
  border: 1px solid var(--company-color);
  transition: border-color 0.3s ease;
}

.btn-logged:hover {
  background-color: var(--company-color);
  color: white;
}

.card {
  border: none;
  background-color: var(--card-bg);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.card-footer-icone {
  cursor: pointer;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.w-30 {
  width: 400px;
  margin: 12px;
}

.w-30-nleft {
  width: 408px;
  margin: 12px;
  float: right;
}

.link-more {
  font-weight: 800;
  text-decoration: none;
  float: right;
  display: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.card-body {
  margin-top: -10px;
  box-sizing: border-box;
  height: auto; /* ← Permitindo altura automática para o conteúdo */
  min-height: 90px;
  background: var(--card-bg);
  padding: 10px;
  text-align: center;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-bottom: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Destaque do balcão */
.card-body-desk {
  font-family: "Calibri", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  color: var(--ticket-error);
  transition: color 0.3s ease;
}

/* Código da senha */
.card-body-ticket {
  font-family: "Calibri", sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 55px;
  color: var(--ticket-error);
  transition: color 0.3s ease;
}

.number {
  font-weight: 600;
  margin-right: 5px;
  color: var(--ticket-error);
  transition: color 0.3s ease;
}

.card-footer {
  color: var(--ticket-error) !important;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-top: none;
  height: 40px;
  transition: all 0.3s ease;
}

.card-header-abbr {
  font-family: "Calibri", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 38px;
  color: #ffffff;
}




/* Smartphones compactos */
@media (max-width: 1024px) {
  .card-body-ticket {
    font-size: 34px;
    line-height: 44px;
  }

  .card-body-desk {
    font-size: 14px;
  }

  .card-body {
    padding: 6px;
  }

  .card-header-abbr {
    font-size: 20px;
  }

  .number {
    font-size: 14px;
  }

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


.card-header-desc {
  font-family: "Calibri", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #ffffff;

  display: -webkit-box;
  -webkit-line-clamp: 2;   /* Limita a 2 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-header-code {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  color: #ffffff;
}

.card-body-waiting {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
  color: var(--ticket-error);
  transition: color 0.3s ease;
}

/* Responsividade para telas ≤ 768px */
@media (max-width: 768px) {
  .card-header-desc {
    font-size: 13px;
    line-height: 18px;
  }

  .card-header-code {
    font-size: 28px;
    line-height: 34px;
  }

  .card-body-waiting {
    font-size: 11px;
    line-height: 13px;
  }
}


.card-header {
  background: var(--company-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card-icon-left {
  margin-right: 10px;
}

.card-icon-right {
  margin-left: 10px;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: var(--border-color);
  border: solid var(--border-color);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
}

section {
  position: relative;
  height: 90vh;
  background-color: var(--bg-color);
  transition: background-color 0.3s ease;
}

#tab-collection1,
#tab-collection2,
#tab-collection3,
#tab-collection4,
#tab-collection5 {
  display: none;
}

.row .col-md-4:nth-child(1) .card-not-ticket,
.row .col-md-4:nth-child(5) .card-not-ticket {
  background-color: var(--company-color);
  background: linear-gradient(to right, var(--company-color), var(--company-color));
}

.row .col-md-4 .card {
  margin-bottom: 30px;
}

.card-not-ticket {
  transition: box-shadow 0.1s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background-color: var(--company-color);
  color: #fff;
  box-shadow: var(--card-shadow);
  padding: 20px 14px;
  text-align: center;
}

.card-not-ticket:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.card-not-ticket h1 {
  font-size: 16px;
  margin: 0;
}

.card-not-ticket h1 i {
  font-size: 14px;
}

.card-not-ticket p {
  margin-bottom: 2px !important;
  font-size: 12px;
}

.card-not-ticket span {
  font-size: 7pt;
}

.card-not-ticket span i {
  font-size: 10px;
}

.card-not-ticket .out-of-hours {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.card-not-ticket i {
  font-size: 48px;
}

.back-button {
  position: absolute;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-primary) !important;
  margin-left: 5px;
  transition: color 0.3s ease;
}

/* Telas pequenas (smartphones compactos) */
@media (max-width: 1024px) {
  .card-not-ticket h1 {
    font-size: 15px;
  }

  .card-not-ticket p {
    font-size: 11px;
  }

  .card-not-ticket span {
    font-size: 7pt;
  }

  .card-not-ticket i {
    font-size: 28px;
  }
}


.back-button:hover {
  color: var(--company-color) !important;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--loader-bg);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: none !important; /* previne flash */
}

.loader2 {
  background-color: var(--loader-bg);
  display: none;
  transition: none !important;
}

/* Centraliza no desktop */
.loading-box {
  text-align: center;
  perspective: 200px;
  width: 100%;
}

/* Logo centralizada por padrão */
.logo-loader {
  max-width: 100%;
  max-height: 100%;
  position: relative;
}



.plain {
  width: 64px;
  height: 64px;
  background-color: var(--loader-bg);
  margin: 0 auto;
  animation-name: plain-animation;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}


@keyframes plain-animation {
  0% {
    transform: rotateX(0deg);
    transform: rotateY(0deg);
    transform: rotateZ(0deg);
  }

  50% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateZ(-180deg);
  }
}

#loader2 {
  position: fixed;
  bottom: 24px;
  right: 24px;
  perspective: 200px;
}

#loader2 .plain {
  background-color: var(--company-color);
  width: 32px;
  height: 32px;
}

.carousel-indicators li {
  background-color: var(--company-color);
}

.carousel-indicators li.active {
  background-color: var(--company-color);
}

.modal-header {
  background-color: var(--card-bg);
  color: var(--text-primary);
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-detail-service {
  cursor: pointer;
  margin-top: -112px;
}

.badge {
  background-color: #fff;
  color: var(--company-color);
  transition: color 0.3s ease;
}

ul.nav-button li:hover {
  background-color: var(--company-color);
}

ul.nav-button li {
  background-color: var(--company-color);
  color: #fff;
  padding: 12px 14px;
  display: inline-block;
  min-width: 120px;
  margin: 8px;
  border-radius: 48px;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  text-align: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

ul.nav-button {
  list-style: none;
  margin: 0;
  padding: 0;
}

#toast-container {
  position: fixed;
  left: 15px;
  bottom: 0;
  width: 300px;
  z-index: 1100;
}

.alert {
  border: none;
  background-color: var(--card-bg);
  color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.alert-warning {
  background-color: #f39c12 !important;
  color: white !important;
}

.alert-error {
  background-color: #e74c3c !important;
  color: white !important;
}

.alert-success {
  background-color: #2ecc71 !important;
  color: white !important;
}

.alert-info {
  background-color: var(--company-color) !important;
  color: white !important;
}

.alert-primary {
  background-color: #007bff !important;
  color: white !important;
}

.alert-birthday {
  background-color: #9b59b6 !important;
  color: white !important;
}

.alert-default {
  background-color: var(--text-secondary) !important;
  color: white !important;
}

#modal-historic table {
  font-size: 12px;
  background-color: var(--card-bg);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.loading-ticket {
  left: 50%;
  color: var(--text-secondary);
  font-size: 14pt;
  font-weight: bold;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: color 0.3s ease;
}

.ft-size {
  font-size: 10px !important;
}

/* Lista compacta - estado padrão */
.ticket {
  background: var(--card-bg);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60, 189, 161, 0.06);
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(60, 189, 161, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(60, 189, 161, 0.12);
  border-color: rgba(60, 189, 161, 0.2);
  background: var(--bg-color);
}

/* Efeito visual de clique */
.ticket:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px rgba(60, 189, 161, 0.15);
}

/* Layout compacto - uma linha horizontal */
.ticket-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.ticket-compact .ticket-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(60, 189, 161, 0.2);
  transition: all 0.3s ease;
}

.ticket:hover .ticket-compact .ticket-logo {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(60, 189, 161, 0.3);
}

.ticket-compact .ticket-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ticket-compact-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticket-compact-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticket-compact-agency {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  transition: all 0.2s ease;
}

.ticket:hover .ticket-compact-agency {
  color: #3cbda1;
}

.ticket-compact-service {
  font-size: 11px;
  color: #3cbda1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.ticket:hover .ticket-compact-service {
  color: #2a9d8f;
}

.ticket-compact-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticket-compact-number {
  background: linear-gradient(135deg, #3cbda1 0%, #2a9d8f 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(60, 189, 161, 0.3);
  transition: all 0.3s ease;
}

.ticket:hover .ticket-compact-number {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(60, 189, 161, 0.4);
  background: linear-gradient(135deg, #2a9d8f 0%, #238a7a 100%);
}

/* Indicador visual de que é clicável */
.ticket-compact-right::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  transition: all 0.2s ease;
  opacity: 0.5;
}

.ticket:hover .ticket-compact-right::after {
  border-color: #3cbda1;
  opacity: 1;
  transform: rotate(-45deg) translateX(2px);
}

/* Responsividade para lista */
@media (max-width: 768px) {
  .ticket-compact {
    gap: 8px;
  }

  .ticket-compact .ticket-logo {
    width: 32px;
    height: 32px;
  }

  .ticket-compact .ticket-logo img {
    width: 32px;
    height: 32px;
  }

  .ticket-compact-info {
    gap: 8px;
  }

  .ticket-compact-left {
    gap: 1px;
  }

  .ticket-compact-agency {
    font-size: 12px;
  }

  .ticket-compact-service {
    font-size: 9px;
    letter-spacing: 0.2px;
  }

  .ticket-compact-number {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 45px;
  }

  .ticket-compact-right::after {
    width: 5px;
    height: 5px;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
  }
}

/* Animação de entrada */
.ticket {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito de ondulação ao clicar */
.ticket::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(60, 189, 161, 0.1);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  pointer-events: none;
}

.ticket:active::before {
  width: 100%;
  height: 100%;
}


/* Página de detalhes do ticket */
.ticket.ticket-read {
  background: #ffffff;
  padding: 0;
  border-radius: 24px;
  box-shadow: 
    0 10px 40px rgba(60, 189, 161, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
  margin: 0 auto 20px auto;
  border: 1px solid rgba(60, 189, 161, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 360px;
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header verde com gradiente mais vibrante */
.ticket-header-green {
  background: var(--card-bg);
  color: var(--bg-color);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.ticket-header-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: all 0.8s ease;
}

.ticket.ticket-read:hover .ticket-header-green::before {
  left: 100%;
}

.ticket-header-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-header-title i {
  font-size: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ticket-close-btn {
  font-size: 14px;
  cursor: pointer;
  padding: 3px 6px;
  background: none;
  border: none; /* Remover qualquer borda */
  color: var(--text-primary);
  transition: color 0.3s ease, transform 0.3s ease;
  border-radius: 0; /* Remove arredondamento desnecessário */
  display: flex;
  align-items: center;
  gap: 4px; /* Espaço entre ícone e texto */
}

.ticket-close-btn:hover {
  color: var(--accent-color, #007bff); /* Ou qualquer cor de destaque */
  transform: scale(1.05);
}

.ticket-body {
  padding: 24px 20px;
  text-align: center;
  background: var(--card-bg);
  /* background-blend-mode: overlay; */
  position: relative;
}

/* .ticket-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(60, 189, 161, 0.015) 20px, rgba(60, 189, 161, 0.015) 40px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(60, 189, 161, 0.01) 20px, rgba(60, 189, 161, 0.01) 40px);
  pointer-events: none;
} */

/* Informações da agência */
.ticket-agency-section {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ticket-agency-title {
  font-size: 16px;
  font-weight: 900;
  color: #1e293b;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.2;
  background: var(--text-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ticket-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  font-size: 10px;
  margin-bottom: 8px;
  font-weight: 600;
}

.ticket-location i {
  font-size: 9px;
  color: #3cbda1;
}

.ticket-service {
  color: #3cbda1;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(60, 189, 161, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid rgba(60, 189, 161, 0.2);
}

/* Número do ticket - círculo menor e mais moderno */
.ticket-number-section {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ticket-number-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #3cbda1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 
    0 8px 32px rgba(60, 189, 161, 0.25),
    0 0 0 3px rgba(60, 189, 161, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.ticket-number-circle:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 40px rgba(60, 189, 161, 0.3),
    0 0 0 4px rgba(60, 189, 161, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.ticket-number-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #3cbda1;
  opacity: 0.3;
  animation: rotate 6s linear infinite;
  z-index: -1;
}

.ticket-number-circle::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #3cbda1;
  pointer-events: none;
}

.ticket-number {
  color: white;
  font-size: 28px;
  font-weight: 900;
  margin: 0;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

/* Status mais compacto */
.ticket-status-section {
  text-align: center;
}

.ticket-status-badge {
  margin-bottom: 6px;
}

.ticket-status-badge .label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #3cbda1 0%, #3cbda1 100%);
/*   box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2); */
}

.ticket-status-badge .label::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-primary);
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.ticket-queue-text {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

/* Cards informativos menores */
.ticket-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ticket-info-card {
  padding: 12px 8px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ticket-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s ease;
}

.ticket-info-card:hover::before {
  left: 100%;
}

.ticket-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.ticket-info-card.notifications {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.ticket-info-card.time {
  background: linear-gradient(135deg, rgba(60, 189, 161, 0.12) 0%, rgba(60, 189, 161, 0.06) 100%);
  border: 1px solid rgba(60, 189, 161, 0.25);
}

.ticket-info-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-info-card.notifications .ticket-info-header {
  color: #d97706;
}

.ticket-info-card.time .ticket-info-header {
  color: #3cbda1;
}

.ticket-info-header i {
  font-size: 8px;
}

.ticket-info-value {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 2px;
  line-height: 1;
}

.ticket-info-card.notifications .ticket-info-value {
  color: #92400e;
}

.ticket-info-card.time .ticket-info-value {
  color: #3cbda1;
}

.ticket-info-label {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.8;
}

.ticket-info-card.notifications .ticket-info-label {
  color: #a16207;
}

.ticket-info-card.time .ticket-info-label {
  color: #3cbda1;
}

/* Botões mais modernos */
.ticket-actions-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.ticket-actions-row {
  display: flex;
  gap: 8px;
}

.ticket-btn-primary {
  background: linear-gradient(135deg, #3cbda1 0%, #3cbda1 50%, #3cbda1 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 
    0 4px 16px rgba(60, 189, 161, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ticket-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.ticket-btn-primary:hover::before {
  left: 100%;
}

.ticket-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 32px rgba(60, 189, 161, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.ticket-btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.ticket-btn-primary i {
  font-size: 11px;
}

.ticket-btn-secondary {
  border: none;
  padding: 12px 20px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.ticket-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.ticket-btn-secondary:hover::before {
  left: 100%;
}

.ticket-btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
}

.ticket-btn-secondary:active {
  transform: translateY(-1px) scale(1.01);
}

.ticket-btn-secondary i {
  font-size: 11px;
}

.ticket-btn-share {
  background: linear-gradient(135deg, #4f46e5 0%, #4f46e5 50%, #4f46e5 100%);
  color: white;
  box-shadow: 
    0 4px 16px rgba(79, 70, 229, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.ticket-btn-share:hover {
  box-shadow: 
    0 8px 32px rgba(79, 70, 229, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.ticket-btn-delete {
  background: linear-gradient(135deg, #ef4444 0%, #ef4444 50%, #ef4444 100%);
  color: white;
  box-shadow: 
    0 4px 16px rgba(239, 68, 68, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.ticket-btn-delete:hover {
  box-shadow: 
    0 8px 32px rgba(239, 68, 68, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* .ticket-btn-secondary {
  background: rgba(100, 116, 139, 0.05);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.15);
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;

}

.ticket-btn-secondary:hover {
  background: rgba(60, 189, 161, 0.08);
  color: #3cbda1;
  border-color: rgba(60, 189, 161, 0.2);
  transform: translateY(-1px);
}

.ticket-btn-secondary i {
  font-size: 10px;
} */

/* Estados dos labels */
.label-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.label-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 
    0 4px 12px rgba(245, 158, 11, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.label-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 
    0 4px 12px rgba(239, 68, 68, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.label-primary {
  background: linear-gradient(135deg, #3cbda1 0%, #2a9d8f 100%) !important;
  box-shadow: 
    0 4px 12px rgba(60, 189, 161, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}


/* Responsividade */
@media (max-width: 768px) {
  .ticket.ticket-read {
    max-width: 100%;
  }
  
  .ticket-body {
    padding: 20px 16px;
  }
  
  .ticket-number-circle {
    width: 95px;
    height: 95px;
  }
  
  .ticket-number {
    font-size: 24px;
  }
  
  .ticket-info-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .ticket-agency-title {
    font-size: 12px;
  }
  
  .ticket-info-card {
    padding: 10px 6px;
  }
}

/* Animações melhoradas */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1); 
  }
  50% { 
    opacity: 0.6; 
    transform: scale(1.3); 
  }
}

/* Seção de Avaliação - Design Moderno */
.fieldset-evaluation {
  background: var(--card-bg);
  border: none;
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.fieldset-evaluation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3cbda1, #2a9d8f, #3cbda1);
  border-radius: 20px 20px 0 0;
}

.fieldset-evaluation:hover {
  border-color: rgba(60, 189, 161, 0.25);
  box-shadow: 
    0 12px 40px rgba(60, 189, 161, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}


/* Título da avaliação */
.animate-avaliation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  color: #3cbda1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3cbda1 0%, #2a9d8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.animate-avaliation::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3cbda1, #2a9d8f);
  border-radius: 2px;
}

.animate-avaliation i {
  font-size: 14px;
  color: #3cbda1;
  animation: starGlow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(60, 189, 161, 0.3));
}

@keyframes starGlow {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 4px rgba(60, 189, 161, 0.3));
  }
  50% { 
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(60, 189, 161, 0.5));
  }
}

/* Sistema de estrelas */
.ticket-evaluation {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  background: rgba(60, 189, 161, 0.03);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(60, 189, 161, 0.1);
}

.ticket-evaluation li {
  position: relative;
}

.ticket-evaluation li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(226, 232, 240, 0.5);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.ticket-evaluation li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
  transition: all 0.5s ease;
}

.ticket-evaluation li a:hover::before {
  left: 100%;
}

.ticket-evaluation li a:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 
    0 8px 24px rgba(251, 191, 36, 0.2),
    0 0 20px rgba(251, 191, 36, 0.1);
}

.ticket-evaluation li a:active {
  transform: scale(1.05) rotate(2deg);
}

/* Estrelas selecionadas */
.ticket-evaluation li a.selected {
  color: #fbbf24;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 
    0 4px 16px rgba(251, 191, 36, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Campo de feedback */
.evaluation-field {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-feedback {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--card-bg);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  color: #1e293b;
  resize: vertical;
  min-height: 80px;
}

.input-feedback::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.input-feedback:focus {
  outline: none;
  border-color: #3cbda1;
  background: var(--card-bg);
  box-shadow: 
    0 0 0 4px rgba(60, 189, 161, 0.1),
    0 4px 16px rgba(60, 189, 161, 0.08);
  transform: translateY(-1px);
}

/* Botões de ação */
.button-evaluation {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button-evaluation .btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  position: relative;
  overflow: hidden;
  min-width: 100px;
}

.button-evaluation .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.button-evaluation .btn:hover::before {
  left: 100%;
}

.button-evaluation .btn-primary {
  background: linear-gradient(135deg, #3cbda1 0%, #2a9d8f 100%);
  color: white;
  box-shadow: 
    0 4px 16px rgba(60, 189, 161, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.button-evaluation .btn-primary:hover {
  background: linear-gradient(135deg, #2a9d8f 0%, #238a7a 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(60, 189, 161, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.button-evaluation .btn-primary:active {
  transform: translateY(0px);
  box-shadow: 
    0 4px 12px rgba(60, 189, 161, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.button-evaluation .btn-secondary {
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
  border: 2px solid rgba(100, 116, 139, 0.2);
  backdrop-filter: blur(10px);
}

.button-evaluation .btn-secondary:hover {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.15);
}

.button-evaluation .btn-secondary:active {
  transform: translateY(0px);
}

/* Indicadores visuais */
.evaluation-rating-text {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  opacity: 0;
  transition: all 0.3s ease;
}

.evaluation-rating-text.show {
  opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .fieldset-evaluation {
    padding: 20px 16px;
    margin-bottom: 16px;
  }
  
  .ticket-evaluation {
    gap: 8px;
    padding: 12px;
  }
  
  .ticket-evaluation li a {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  .input-feedback {
    padding: 12px 14px;
    font-size: 12px;
    min-height: 70px;
  }
  
  .button-evaluation {
    gap: 8px;
  }
  
  .button-evaluation .btn {
    padding: 10px 20px;
    font-size: 11px;
    min-width: 90px;
  }
  
  .animate-avaliation {
    font-size: 12px;
    margin-bottom: 16px;
  }
}

/* Estados especiais */
.fieldset-evaluation.submitted {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.fieldset-evaluation.submitted::before {
  background: linear-gradient(90deg, #10b981, #059669, #10b981);
}

/* Animação de sucesso */
@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.fieldset-evaluation.success {
  animation: successPulse 0.6s ease-out;
}

/* Status reorganizado */
.ticket-status-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ticket-status-badge {
  order: 1;
}

.ticket-queue-text {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  order: 2;
}

/* Notificação ativo */
.ticket-notification-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(60, 189, 161, 0.1);
  color: #3cbda1;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(60, 189, 161, 0.2);
  order: 3;
  margin-top: 2px;
}

.ticket-notification-status i {
  font-size: 8px;
  animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {
  0%, 50%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

/* Card de pessoas à frente */
.ticket-info-card.queue {
  background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
  border: 1px solid rgba(3, 169, 244, 0.3);
}

.ticket-info-card.queue .ticket-info-header {
  color: #0277bd;
}

.ticket-info-card.queue .ticket-info-value {
  color: #01579b;
}

.ticket-info-card.queue .ticket-info-label {
  color: #0288d1;
}

/* Controle de notificação */
.ticket-notification-control {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ticket-btn-notification {
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.2);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: 100%;
}

.ticket-btn-notification:hover {
  background: rgba(60, 189, 161, 0.1);
  color: #3cbda1;
  border-color: rgba(60, 189, 161, 0.3);
  transform: translateY(-1px);
}

.ticket-btn-notification i {
  font-size: 10px;
}

/* === Novo estilo para o seletor de notificação === */
.input-notification {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: none;
  border: none;
  transition: all 0.3s ease-in-out;
  animation: fadeIn 0.2s ease-in-out;
}

.input-notification .notification-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.5px;
}

.input-notification .notification-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 10px;
}

/* Suaviza a transição */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Código do ticket */
.ticket-code-section {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}

.ticket-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.ticket-code-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary); /* cinza escuro */
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-code-copy {
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  color: var(--secondary); 
  transition: color 0.2s ease;
}

.ticket-code-copy:hover {
  color: var(--company-color);
}

.ticket-code-value {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
}

.ticket-code-value-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #1e293b;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 4px 8px;
  position: absolute;
  z-index: 1;
  top: -30px;
  right: 0;
  font-size: 11px;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ticket-code-copy:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Avaliação */
.fieldset-evaluation {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(60, 189, 161, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;

}

.animate-avaliation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  color: #3cbda1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ticket-evaluation {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.ticket-evaluation li a {
  display: block;
  font-size: 20px;
  color: #e2e8f0;
  transition: all 0.2s ease;
  padding: 6px;
  border-radius: 6px;
}

.ticket-evaluation li a:hover {
  color: #fbbf24;
  transform: scale(1.15);
}

.evaluation-field {
  margin-top: 12px;
}

.input-feedback {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 11px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.input-feedback:focus {
  outline: none;
  border-color: #3cbda1;
  box-shadow: 0 0 0 3px rgba(60, 189, 161, 0.1);
}

.button-evaluation {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.button-evaluation .btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.button-evaluation .btn-primary {
  background: #3cbda1;
  color: white;
  border: none;
}

.button-evaluation .btn-primary:hover {
  background: #2a9d8f;
}

.button-evaluation .btn-secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.button-evaluation .btn-secondary:hover {
  background: #f1f5f9;
}

/* Responsividade */
@media (max-width: 768px) {
  .ticket-notification-status {
    font-size: 8px;
    padding: 3px 8px;
  }
  
  .ticket-btn-notification {
    font-size: 10px;
    padding: 8px 12px;
  }
  
  .ticket-code-section {
    padding: 10px;
  }
  
  .fieldset-evaluation {
    padding: 12px;
  }
}

/* Tema escuro */
@media (prefers-color-scheme: dark) {
  .ticket {
    background: var(--card-bg);
    border-color: rgba(60, 189, 161, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  }
  
  .ticket:hover {
    box-shadow: 0 12px 40px rgba(60, 189, 161, 0.2);
  }
  
  .ticket-logo {
    background: var(--card-bg);
    border-color: rgba(60, 189, 161, 0.1);
  }
  
  .ticket p {
    color: #94a3b8;
  }
  
  .ticket h1,
  .ticket h1 .size-text {
    color: var(--text-primary) !important;
    padding-top: 10px;
  }
  
  .fieldset-evaluation {
    background: var(--card-bg);
  }
  
  .input-feedback {
    background: var(--card-bg);
    border-color: rgba(60, 189, 161, 0.2);
    color: var(--text-primary);
  }
  
  .btn-secondary {
    background: var(--card-bg);
    color: #94a3b8;
    border-color: rgba(60, 189, 161, 0.2);
  }
  
  .btn-secondary:hover {
    background: #2a2a2a;
    color: #f8fafc;
  }
  
  .ico-detail {
    color: #94a3b8;
    background: rgba(60, 189, 161, 0.08);
  }
  
  .ico-detail:hover {
    background: rgba(60, 189, 161, 0.15);
  }
  
  .icon-ticket-code {
    color: #94a3b8;
  }
}

/* Animações adicionais */
.ticket {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estados de loading */
.ticket.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.ticket.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid rgba(60, 189, 161, 0.2);
  border-top: 3px solid #3cbda1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 500px) {
  #modal-login .modal-dialog {
    width: 96% !important;
  }

  header {
    display: none;
  }

  .fixed-top {
    display: block;
  }

  main {
    margin-top: 15%;
  }

  .ticket {
    text-align: center;
  }

  .ticket-logo {
    float: none;
    margin: 0 auto;
    text-align: center;
  }

  .ticket-data {
    float: none;
  }

  .ticket .carousel-indicators {
    display: none;
  }

  .btn-facebook {
    background-color: #3b5998 !important;
  }

  .btn-messenger {
    background-color: #fff !important;
    border: 1px solid #0084ff !important;
    color: #0084ff !important;
  }

  .w-30 {
    width: 323px;
    margin: 12px;
  }

  .loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--loader-bg);
    z-index: 2000;
  }

  .loader img {
    display: block;
  }

  .loader .loading-box {
    background-color: var(--bg-color);
    margin-top: 10%;
  }
}

#ticket-image {
  display: none;
}

.notification-ticket-shared {
  color: red;
  animation: newTicketShared 1400ms ease-in-out infinite;
}

@keyframes newTicketShared {
  0% {
    opacity: 0.4;
  }

  15% {
    opacity: 0.2;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  80% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

.printing-animate {
  animation: warning 2000ms ease-in-out infinite;
}

@keyframes warning {
  0% {
    color: var(--ticket-error);
  }

  50% {
    color: rgba(248, 159, 159, 0.8);
  }

  80% {
    color: var(--ticket-error);
  }

  100% {
    color: var(--ticket-error);
  }
}

.ticket-called-in-desk {
  background-color: #ff4800;
}

.accept-ticket-shared {
  margin-right: 8px;
  cursor: pointer;
}

.ticket-available {
  margin-bottom: 10px;
}

.ticket-available fieldset {
  padding: 10px;
  border-radius: 2px;
  border: 1px solid var(--company-color);
  background-color: var(--card-bg);
  transition: all 0.3s ease;
}

.ticket-available legend {
  color: var(--company-color);
  font-size: 0.9em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.ticket-available span {
  float: left;
  cursor: pointer;
  font-weight: bold;
  margin: 0 12px 20px 0px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.ticket-available label {
  float: left;
  font-size: 10pt;
  font-weight: bold;
  margin: 5px 0 21px 3px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.ticket-available label i {
  color: var(--ticket-error);
  transition: color 0.3s ease;
}

.warningNoService {
  color: var(--text-secondary);
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
  transition: color 0.3s ease;
}

.animate-flicker {
  animation: flicker 3s linear infinite;
  color: var(--ticket-error);
}

@keyframes flicker {
  0%,
  19.999%,
  22%,
  62.999%,
  64%,
  64.999%,
  70%,
  100% {
    opacity: 0.99;
    filter: drop-shadow(0 0 1px rgba(252, 211, 77))
      drop-shadow(0 0 15px rgba(245, 158, 11))
      drop-shadow(0 0 1px rgba(252, 211, 77));
  }
  20%,
  21.999%,
  63%,
  63.999%,
  65%,
  69.999% {
    opacity: 0.4;
    filter: none;
  }
}

.your-ticket-called {
  font-size: 11pt;
  font-weight: 800;
  color: var(--company-color);
  margin-top: 10px;
  transition: color 0.3s ease;
}

.ticket-no-printing {
  font-weight: 800;
  font-size: 10pt;
  color: var(--ticket-error);
  transition: color 0.3s ease;
}

.animate-avaliation {
  animation: avaliation 3s linear infinite;
  font-weight: bolder;
  color: green;
  font-size: 9pt;
  cursor: pointer;
}

@keyframes avaliation {
  0%,
  19.999%,
  22%,
  62.999%,
  64%,
  64.999%,
  70%,
  100% {
    opacity: 0.99;
    filter: drop-shadow(0 0 1px rgba(252, 211, 77))
      drop-shadow(0 0 15px rgba(245, 158, 11))
      drop-shadow(0 0 1px rgba(252, 211, 77));
  }
  20%,
  21.999%,
  63%,
  63.999%,
  65%,
  69.999% {
    opacity: 0.4;
    filter: none;
  }
}

.size-text {
  font-size: 11pt !important;
  font-weight: bold;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.menu-web {
  font-size: 10pt;
  font-weight: 600;
  font-family: Calibri, sans-serif;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.d-none {
  display: none;
}

.ticket-printed {
  top: 15%;
  width: 19px;
  height: 19px;
  margin-left: -43px;
  position: absolute;
  border-radius: 100%;
}

.ticket-printed-mobile {
  top: 15%;
  width: 19px;
  height: 19px;
  margin-left: -35px;
  position: absolute;
  border-radius: 100%;
}

.total-ticket-mobile {
  color: white !important;
  background-color: var(--ticket-error) !important;
  transition: background-color 0.3s ease;
}

.total-ticket-web {
  font-size: 11pt;
  color: white !important;
  background-color: var(--ticket-error) !important;
  transition: background-color 0.3s ease;
}

.ticket-evaluation {
  padding-left: 0;
  font-size: 20px;
  list-style: none;
  margin-bottom: 10px;
  display: inline-flex;
}

.service-name {
  font-size: 10pt;
  font-weight: bold;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.ticket-priority {
  color: #007bff;
  font-weight: 800;
  font-size: 13pt;
}

.last-ticket-called {
  color: #007bff;
  font-weight: 800;
  font-size: 9pt;
}

.box-service {
  height: 200px;
  width: 100%;
  border: 3px var(--border-color) solid;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--card-bg);
  transition: all 0.3s ease;
}

.checkInputService {
  border-bottom: 1px var(--border-color) solid;
  padding: 4px;
  display: block;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.divider::before {
  margin-right: 10px;
}

.divider::after {
  margin-left: 10px;
}

/* Botão do Google */
.btn-gmail {
  border: 1px solid #db4437;
  color: #db4437;
  background-color: var(--card-bg);
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-gmail:hover {
  background-color: #db4437;
  color: #fff;
}

/* Botão da Apple */
.btn-apple {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  background-color: var(--card-bg);
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-apple:hover {
  background-color: var(--text-primary);
  color: var(--card-bg);
}

/* Botão do Facebook */
.btn-facebook {
  border: 1px solid #1877f2;
  color: #fff;
  background-color: #1877f2;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-facebook:hover {
  background-color: #145dbf;
}

@media (max-width: 500px) {
  .logo-loader{
    max-width: 50%; 
    max-height: 50%;
  }
}

.total-ticket-web {
  width: 15px;
  height: 15px;
  font-size: 9px;
  font-weight: bold;
  color: #fff;
  background-color: #ff0000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ticket-printed-web {
  top: 15%;
  width: 64px;
  height: 19px;
  margin-left: -35px;
  position: absolute;
  border-radius: 100%;
}

.ticket-printed-web-modal{
  top: 15%;
  width: 109px;
  height: 19px;
  margin-left: -35px;
  position: absolute;
  border-radius: 100%;
}

.total-ticket-mobile {
  width: 15px;
  height: 15px;
  font-size: 9px;
  font-weight: bold;
  color: #fff;
  background-color: #ff0000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#MenuMobile{
  margin-right: 4%;
}

#MenuM{
  margin-right: 4%;
}

#show-main-content{
  margin-top: 100px;
  background-color: var(--bg-color);
  transition: background-color 0.3s ease;
}

/* @media (max-width: 768px) {
  #show-main-content {
    height: calc( )
  }
} */

/* Adicionais para melhor suporte ao dark mode */
input,
textarea,
select {
  background-color: var(--card-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-primary) !important;
  opacity: 0.7;
}



input:focus, textarea:focus, select:focus {
  border-color: var(--company-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(54, 195, 135, 0.25);
}

.modal-content {
  background-color: var(--modal-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
  transition: all 0.3s ease;
}

.modal-footer {
  border-color: var(--border-color) !important;
  background-color: var(--modal-bg) !important;
  transition: all 0.3s ease;
}

.dropdown-menu {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  transition: all 0.3s ease;
}

.dropdown-item {
  color: var(--text-primary) !important;
  transition: color 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--company-color) !important;
  color: white !important;
}

.nav-tabs {
  border-color: var(--border-color) !important;
  background-color: var(--bg-color) !important;
  transition: all 0.3s ease;
}

.breadcrumb {
  background-color: var(--breadcrumb-bg) !important;
  transition: background-color 0.3s ease;
}

.breadcrumb-item a {
  color: var(--company-color) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Mostrar o .main-header SOMENTE em telas menores ou iguais a 995px */
@media (max-width: 995px) {
  .main-header {
    display: flex !important;
    position: sticky;
    top: 0;
    z-index: 1030;
  }
}

/* Esconder o .main-header em telas maiores que 995px */
@media (min-width: 996px) {
  .main-header {
    display: none !important;
  }
}


/* Adicione estes estilos ao seu arquivo CSS */

.empty-state-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 20px;
    text-align: center;
}

.empty-state-content {
    max-width: 500px;
    width: 100%;
}

.empty-state-icon {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
}

.icon-background {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--bs-warning) 0%, var(--bs-warning)  100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(60, 189, 161, 0.3);
    animation: pulse-icon 2s ease-in-out infinite;
}

.icon-background i {
    font-size: 48px;
    color: white;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3cbda1;
    border-radius: 50%;
    opacity: 0.6;
}

.dot-1 {
    top: 20%;
    left: 10%;
    animation: float-1 3s ease-in-out infinite;
}

.dot-2 {
    top: 30%;
    right: 15%;
    animation: float-2 3s ease-in-out infinite 0.5s;
}

.dot-3 {
    bottom: 25%;
    left: 20%;
    animation: float-3 3s ease-in-out infinite 1s;
}

.empty-state-text {
    margin-bottom: 30px;
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.empty-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-empty {
    background: linear-gradient(135deg, #3cbda1 0%, #2a9d8f 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(60, 189, 161, 0.3);
}

.btn-primary-empty:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 189, 161, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary-empty {
    background: transparent;
    color: #3cbda1;
    border: 2px solid #3cbda1;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary-empty:hover {
    background: #3cbda1;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Animações */
@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float-1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-10px) translateX(5px);
    }
    66% {
        transform: translateY(5px) translateX(-3px);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(8px) translateX(-5px);
    }
    66% {
        transform: translateY(-6px) translateX(3px);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-8px) translateX(3px);
    }
    66% {
        transform: translateY(6px) translateX(-5px);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .empty-state-container {
        min-height: 300px;
        padding: 30px 15px;
    }
    
    .icon-background {
        width: 100px;
        height: 100px;
    }
    
    .icon-background i {
        font-size: 40px;
    }
    
    .empty-title {
        font-size: 20px;
    }
    
    .empty-description {
        font-size: 14px;
    }
    
    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-empty,
    .btn-secondary-empty {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}