/* ===========================
   TELEPET MAIN STYLES
   =========================== */

.telepet-segmented-control {
  display: flex;
  background: #f8f9fa;
  border-radius: .825rem;
  padding: .25rem;
  gap: .25rem;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.telepet-segment {
  flex: 1;
  background: transparent;
  border: none;
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-weight: 500;
  transition: all 0.2s ease;
  color: var(--main_text_color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
}

.telepet-segment.active {
  background: var(--secondary_color);
  color: var(--menu_background_color);
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.telepet-segment:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
  color: #495057;
}

/* ===========================
   EMPTY STATES
   =========================== */

.telepet-empty-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telepet-empty-alert {
  max-width: 320px;
}

/* ===========================
   CARDS LAYOUT
   =========================== */

.telepet-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.telepet-card-wrapper {
  flex: 1 1 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .telepet-card-wrapper {
    flex: 0 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

/* ===========================
   BUTTON LAYOUTS
   =========================== */

.telepet-button-flex {
  flex: 1;
}

/* Botões compactos para desktop - ícone ao lado do texto */
.telepet-btn-compact {
  flex: 1;
  padding: 0.375rem 0.2rem !important;
  font-size: 0.8rem;
  white-space: nowrap;
}

.telepet-btn-compact i {
  font-size: 0.8rem;
  margin-right: 0.1rem;
}

/* Botão de consulta (primeiro) pega mais espaço que os outros */
.telepet-btn-compact:nth-child(1) {
  flex: 1.3;
}

.telepet-btn-compact:nth-child(2),
.telepet-btn-compact:nth-child(3) {
  flex: 0.9;
}

/* Botões mobile - 3 colunas */
.telepet-btn-mobile {
  padding: 0.5rem 0.15rem;
  font-size: 0.75rem;
  white-space: normal;
  line-height: 1.2;
}

.telepet-btn-mobile i {
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.1rem;
}

@media (max-width: 767.98px) {
  .telepet-btn-mobile {
    padding: 0.4rem 0.1rem;
  }
}

/* ===========================
   FORM FIELDS
   =========================== */

.telepet-hidden-field {
  display: none;
}

.telepet-panel-hidden {
  display: none;
}

/* Desktop: Tamanho maior e visual mais sofisticado */
@media (min-width: 768px) {
  .telepet-segmented-control {
    max-width: 25rem;
    margin: 0 auto 2rem auto;
    padding: .3rem;
  }

  .telepet-segment {
    padding: .75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Animação do conteúdo */
.telepet-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.telepet-content.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* #border-consultation {
  background-color: var(--secondary_color);
  color: var(--menu_background_color);
} */

#telepet-wrapper {
  min-height: 100vh;
}

/* ==================== Estilos para Cards de Consulta ==================== */

/* Estilos para os cards de consulta */
.consultation-card {
  transition: all 0.3s ease;
  border-radius: 6px !important;
}

.consultation-card:hover {
  transform: translateY(-2px);
}

.history-card {
  transition: all 0.3s ease;
  border-radius: 6px !important;
}

.history-card:hover {
  transform: translateY(-2px);
}

/* ==================== Estilos para Cards com Shadow-sm ==================== */

/* ==================== Estilos para Cards com Shadow-lg ==================== */

/* Hover elegante para cards com shadow-lg */
.card.shadow-lg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px !important;
  will-change: transform;
}

.card.shadow-lg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px !important;
  will-change: transform, box-shadow;
}

.card.shadow-lg:hover {
  transform: translateY(-4px) scale(1.01);
}

/* Hover suave para elementos internos - sem mudança de cor */
.card.shadow-lg:hover .card-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

/* Animação para badges nos cards */
.card.shadow-lg .badge {
  transition: all 0.3s ease;
}

.card.shadow-lg:hover .badge {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Botões com hover aprimorado - sem mudança de cor */
.card.shadow-lg .btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card.shadow-lg .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: left 0.5s;
}

.card.shadow-lg:hover .btn:hover::before {
  left: 100%;
}

/* Preservar cores originais dos botões dentro dos cards */
.card.shadow-lg:hover .btn {
  color: inherit !important;
}

.card.shadow-lg:hover .btn-theme-secondary {
  color: var(--menu_background_color) !important;
}

/* Override para hover específico do btn-theme-secondary */
.card.shadow-lg:hover .btn-theme-secondary:hover {
  color: white !important;
}

.card.shadow-lg:hover .btn-success {
  color: white !important;
}

.card.shadow-lg:hover .btn-outline-danger {
  color: white !important;
  background-color: var(--bs-danger) !important;
}

.card.shadow-lg:hover .btn i {
  color: inherit !important;
}

/* Hover personalizado para botões theme-secondary */
.btn-theme-secondary:hover {
  background-color: var(--secondary_color) !important;
  color: white !important;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border-color: var(--secondary_color) !important;
}

/* Hover para ícones dentro dos botões theme-secondary */
.btn-theme-secondary:hover i {
  color: white !important;
}

/* Hover personalizado para botões success - seguindo o mesmo padrão */
.btn-success:hover {
  background-color: #28a745 !important;
  color: white !important;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border-color: #28a745 !important;
}

/* Hover para ícones dentro dos botões success */
.btn-success:hover i {
  color: white !important;
}

/* Hover personalizado para botões outline-danger - seguindo o mesmo padrão */
.btn-outline-danger:hover {
  background-color: #dc3545 !important;
  color: white !important;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border-color: #dc3545 !important;
}

/* Hover para ícones dentro dos botões outline-danger */
.btn-outline-danger:hover i {
  color: white !important;
}

/* Hover personalizado para botões danger (excluir) - mantém cor branca */
.btn-danger:hover {
  background-color: #dc3545 !important;
  color: white !important;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border-color: #dc3545 !important;
}

/* Hover para ícones dentro dos botões danger */
.btn-danger:hover i {
  color: white !important;
}

/* Override específico para card hover com btn-danger */
.card.shadow-lg:hover .btn-danger {
  color: white !important;
}

.card.shadow-lg:hover .btn-danger:hover {
  color: white !important;
}

/* Botões seguindo padrão do sistema */
.consultation-card .btn,
.history-card .btn {
  border-radius: 4px !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Padronização dos botões nos cards de pets */
.card-hover .btn {
  border-radius: 4px !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Responsividade melhorada */
@media (max-width: 768px) {

  .consultation-card .col-md-3,
  .history-card .col-md-3 {
    margin-top: 1rem;
  }

  .consultation-card .d-grid {
    gap: 0.75rem !important;
  }

  .consultation-card .btn,
  .history-card .btn,
  .card-hover .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {

  .consultation-card .btn,
  .history-card .btn,
  .card-hover .btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
}

/* Ícones com largura fixa para alinhamento perfeito */
.card-body i.fas,
.card-body i.far {
  width: 16px;
  text-align: center;
}

/* Ícones maiores mantêm tamanho original */
.card-body i.fa-lg,
.card-body i.fa-2x {
  width: auto;
}

/* Data/hora centralizada em desktop */
.text-center .text-primary,
.text-center .text-muted {
  line-height: 1.4;
}

/* Badges seguindo padrão do sistema */
.badge {
  border-radius: 4px !important;
  font-weight: 500;
}

/* Animação suave para ícones */
.card i {
  transition: all 0.3s ease;
}

/* Estados vazios mais bonitos */
.text-center i[style*="font-size: 3rem"] {
  opacity: 0.6;
  transition: all 0.3s ease;
}

.text-center:hover i[style*="font-size: 3rem"] {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Padronização dos inputs nos modais do Telepet */
#consultationModal .form-control,
#petModal .form-control,
#editPetModal .form-control {
  height: 38px;
  border-radius: 4px;
  border: 1px solid #ced4da;
  font-size: 0.95rem;
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Inputs específicos de data e hora */
#consultationModal input[type="date"],
#consultationModal input[type="time"],
#consultationModal select {
  height: 38px !important;
  min-height: 38px;
  line-height: 1.5;
}

/* Input de tempo com estilo personalizado */
#consultationModal input[type="time"] {
  padding-right: 0.75rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23666' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0zm7-3.5v2.5l1.5 1.5L9 9.5 7.5 8V4.5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
}

/* Textarea mantém altura dinâmica */
#consultationModal textarea.form-control {
  height: auto;
  min-height: 76px;
  resize: vertical;
}

/* Hover e focus nos inputs */
#consultationModal .form-control:hover,
#petModal .form-control:hover,
#editPetModal .form-control:hover {
  border-color: #adb5bd;
}

#consultationModal .form-control:focus,
#petModal .form-control:focus,
#editPetModal .form-control:focus {
  border-color: var(--secondary_color);
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary_color_rgb), 0.25);
  outline: 0;
}

/* Campos obrigatórios sem indicação visual */
#consultationModal .form-control:required,
#petModal .form-control:required,
#editPetModal .form-control:required {
  background-image: none;
}

/* Texto de ajuda nos formulários */
#consultationModal .form-text,
#petModal .form-text,
#editPetModal .form-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* Animação para efeito shimmer nos botões */
@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* ==========================================
   ESTILOS PARA INPUTS DE DATA E HORA
   ========================================== */

/* Padronização para inputs de data, hora e selects */
input[type="date"],
input[type="time"],
select.form-control {
  height: 42px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border-radius: 6px !important;
  border: 1px solid #ced4da !important;
  transition: all 0.2s ease !important;
  background-color: #fff !important;
  color: #495057 !important;
}

/* Estados de foco e hover para inputs e selects */
input[type="date"]:focus,
input[type="time"]:focus,
select.form-control:focus {
  border-color: var(--secondary_color, #007bff) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

input[type="date"]:hover:not(:focus),
input[type="time"]:hover:not(:focus),
select.form-control:hover:not(:focus) {
  border-color: #adb5bd !important;
}

/* Estilo para inputs e selects desabilitados */
input[type="date"]:disabled,
input[type="time"]:disabled,
select.form-control:disabled {
  background-color: #e9ecef !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* Estilo específico para selects */
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 8px center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  padding-right: 32px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

/* Estilo específico para webkit browsers (Chrome, Safari, Edge) */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  background-color: transparent;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  transition: none;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  background-color: transparent;
}

/* Responsividade - Mobile */
@media (max-width: 767.98px) {

  input[type="date"],
  input[type="time"],
  select.form-control {
    font-size: 16px !important;
    /* Evita zoom no iOS */
    height: 48px !important;
    padding: 12px 16px !important;
  }

  select.form-control {
    padding-right: 40px !important;
    background-size: 20px 20px !important;
    background-position: right 12px center !important;
  }

  /* Garantir que todos os form-control no mobile tenham altura adequada */
  #consultationModal .form-control,
  #petModal .form-control,
  #editPetModal .form-control {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
    line-height: 1.2 !important;
  }

  /* Ajuste específico para selects no mobile */
  #consultationModal select.form-control,
  #petModal select.form-control,
  #editPetModal select.form-control {
    padding-right: 40px !important;
  }

  /* Campo de motivo (textarea) com altura maior no mobile */
  #consultationModal textarea.form-control {
    height: auto !important;
    min-height: 100px !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
    line-height: 1.4 !important;
  }

  /* Garantir que modais fiquem sobre todos os elementos no mobile */
  .modal {
    z-index: 9999 !important;
  }

  .modal-backdrop {
    z-index: 9998 !important;
  }

  /* Garantir que modais tenham largura total no mobile */
  .modal-dialog {
    margin: 0.5rem !important;
    max-width: calc(100vw - 1rem) !important;
  }

  .modal-body {
    padding: 1rem !important;
  }

  /* Evitar scroll do body quando modal estiver aberta */
  body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }
}

/* Container para inputs lado a lado */
#agendada-fields.row {
  gap: 0;
  margin: 0;
}

#agendada-fields .col-md-6 {
  padding-left: 0;
  padding-right: 0;
}

#agendada-fields .col-md-6:first-child {
  padding-right: 8px;
}

#agendada-fields .col-md-6:last-child {
  padding-left: 8px;
}

/* Ajuste para mobile - manter campos data e hora na mesma linha */
@media (max-width: 767.98px) {
  #agendada-fields.row[style*="flex"] {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  #agendada-fields .col-md-6 {
    flex: 1 !important;
    padding: 0 !important;
    max-width: none !important;
    flex-basis: 0 !important;
  }

  #agendada-fields .col-md-6:first-child {
    padding-right: 4px !important;
  }

  #agendada-fields .col-md-6:last-child {
    padding-left: 4px !important;
  }
}

/* Estilo para cards do histórico */
.history-card {
  background-color: #f8f9fa !important;
  /* Fundo cinza claro */
  opacity: 0.85 !important;
  /* Leve transparência para dar aspecto "inativo" */
}

.history-card .card-body {
  background-color: #f8f9fa !important;
}

.history-card:hover {
  opacity: 0.95 !important;
  /* Menos transparência no hover */
  background-color: #e9ecef !important;
  /* Cinza um pouco mais escuro no hover */
}

.history-card .card-body:hover {
  background-color: #e9ecef !important;
}

/* Estilo para o motivo da consulta */
.consultation-card .text-muted.small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

/* Mobile: permitir quebra de linha no motivo */
@media (max-width: 768px) {
  .consultation-card .text-muted.small {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ===========================
   CONSULTATION FRAME STYLES
   =========================== */

.telepet-frame-body {
  margin: 0;
  padding: 0;
  background-color: var(--menu_background_color);
  font-family: var(--bs-font-sans-serif, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
  color: var(--main_text_color);
}

.telepet-header-bar {
  background: var(--secondary_color) !important;
  color: white !important;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  /* Impede quebra de linha */
}

.telepet-header-bar h5 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: white !important;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telepet-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  /* Impede que o botão encolha */
  white-space: nowrap;
  margin-left: 10px;
  /* Espaço entre título e botão */
}

.telepet-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.telepet-close-btn:active {
  transform: translateY(0);
}

.telepet-iframe-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--item_background_color);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.telepet-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 8px 8px;
}

.telepet-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.telepet-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.telepet-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e3e3e3;
  border-top: 4px solid var(--secondary_color);
  border-radius: 50%;
  animation: telepet-spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes telepet-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .telepet-header-bar {
    padding: 12px 15px;
    flex-wrap: nowrap;
    /* Manter na mesma linha */
  }

  .telepet-header-bar h5 {
    font-size: 0.9rem;
    gap: 6px;
    max-width: calc(100% - 80px);
    /* Reservar espaço para o botão */
  }

  .telepet-close-btn {
    padding: 8px 12px;
    font-size: 12px;
    margin-left: 8px;
  }
}

@media (max-width: 400px) {
  .telepet-header-bar {
    padding: 10px 12px;
  }

  .telepet-header-bar h5 {
    font-size: 0.85rem;
    gap: 4px;
    max-width: calc(100% - 60px);
    /* Espaço menor para botão apenas com ícone */
  }

  .telepet-close-btn {
    padding: 6px 10px;
    font-size: 11px;
    margin-left: 6px;
  }

  /* Esconder texto "Sair" em telas muito pequenas */
  .telepet-close-btn span {
    display: none;
  }
}

/* ===========================
   ACCESS DENIED PAGE STYLES
   =========================== */

.telepet-access-card {
  border-radius: 15px;
}

.telepet-access-btn {
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.telepet-access-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.telepet-access-btn-success {
  background: linear-gradient(45deg, #25D366, #128C7E);
  border: none;
}

.telepet-access-btn-success:hover {
  background: linear-gradient(45deg, #128C7E, #25D366);
}

.telepet-access-btn-secondary {
  background: linear-gradient(45deg, #6c757d, #495057);
  border: none;
}

.telepet-access-btn-secondary:hover {
  background: linear-gradient(45deg, #495057, #6c757d);
}

@media (max-width: 768px) {
  .telepet-access-card-body {
    padding: 2rem 1.5rem !important;
  }

  .telepet-access-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .telepet-access-flex {
    flex-direction: column !important;
  }
}

/* ===========================
   CONSULTATION ERROR PAGE STYLES
   =========================== */

.telepet-error-body {
  margin: 0;
  padding: 0;
  background-color: var(--menu_background_color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--main_text_color);
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.telepet-error-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.telepet-error-content {
  text-align: center;
  max-width: 500px;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #f8f9fa;
}

.telepet-error-icon {
  font-size: 4rem;
  color: #ffc107;
  margin-bottom: 20px;
}

.telepet-error-title {
  color: var(--main_text_color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.telepet-error-message {
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.telepet-btn-close-error {
  background: var(--secondary_color);
  border: none;
  color: white;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.telepet-btn-close-error:hover {
  background: var(--main_color);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.telepet-btn-error-secondary {
  background: #6c757d;
  border: none;
  color: white;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.telepet-btn-error-secondary:hover {
  background: #5a6268;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Ícone grande para access-denied */
.telepet-large-icon {
  font-size: 4rem !important;
}

/* ===========================
   MOBILE CARD ADJUSTMENTS
   =========================== */

/* Reduzir padding lateral dos cards no mobile para acomodar 3 botões */
@media (max-width: 767.98px) {
  .card-body.p-3 {
    padding: 0.75rem !important;
  }
}