

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

.alert-danger{
    z-index:9999;
}

body {
    font-family: 'Josefin Sans' , sans-serif !important;
    font-size: 1.3em;
    background-color: #000;
}
@media (max-width: 576px) {
    body {
        font-size: 1rem;
    }
}


.app-header{
    background-image: url('./../../../back-dash.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
    box-shadow: inset 0 0 60px #000000;
}


.modal-content{
    border-width: 1px;
    border: 3px solid;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border-image-slice: 100%;
    border-image-slice: 1;
}

.dropdown-item{
    font-size: 1.3rem;
}

.dropdown-item.active, .dropdown-item:active {
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
}

.dropdown-item:focus, .dropdown-item:hover {
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
  }

.nav-pills .nav-link.active, .nav-tabs .nav-link.active {
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
  }

  .input-box:not(.form-adm .input-box){
    display: flex;
    background: #111215;
    padding: 2px;
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    clip-path: polygon(7.5% 0,92.5% 0,100% 50%,92.5% 100%,7.5% 100%,0 50%);
 
  }

  .form-control:not(.form-adm .form-control){
    padding-left: 2rem;
    padding-right: 2rem;
    clip-path: polygon(7.5% .8%,92.5% .8%,99.5% 50%,92.5% 99.2%,7.5% 99.5%,.5% 50%);
    background: #111215;
    color: #fff;
    height: 3em;
  }

 .form-adm .form-control{
    background: #111215;
    color: #fff;
    border-width: 1px;
    border: 3px solid;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border-image-slice: 100%;
    border-image-slice: 1;
    box-shadow: unset;
    height: 3em;
  }

  .form-control:focus{
    background: #000;
    color: #fff;
  }

  .form-check-input:checked {
   
    background-color: #FFCF26;

  }

  .active > .page-link, .page-link.active {
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border-color: #FFDC61;
  }

  .btn {
    text-transform: uppercase;
    color: #111215;
    clip-path: polygon(7.5% 0,92.5% 0,100% 50%,92.5% 100%,7.5% 100%,0 50%);
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border:unset;
    padding-left:15px;
    padding-right:15px;
  }

  .btn.btn-success{

    color: #dddddd;
    background: linear-gradient(180deg,#77b300 -11.61%,#689c00 28.5%,#395500 100%);
  }

  .btn:hover {
    text-transform: uppercase;
    color: #111215;
    clip-path: polygon(7.5% 0,92.5% 0,100% 50%,92.5% 100%,7.5% 100%,0 50%);
    background: linear-gradient(180deg,#e0c150 -11.61%,#dab01b 28.5%,#d6640c 100%);
  }

  a{
    color: #acb5bf;
  }

  .nav-link {
    color: #acb5bf;
  }
  .nav-link:focus, .nav-link:hover {
    color: #919ba7;
  }

  /* Sidebar Admin (Licenças) – moderno e alinhado ao restante ---------- */
  .license-admin-sidebar {
    --sidebar-bg: rgba(21, 23, 26, 0.75);
    --sidebar-border: rgba(255, 220, 97, 0.2);
    --sidebar-text: #acb5bf;
    --sidebar-text-muted: #8b929a;
    --sidebar-active: linear-gradient(135deg, rgba(255, 220, 97, 0.15) 0%, rgba(255, 207, 38, 0.2) 100%);
    --sidebar-hover: rgba(255, 220, 97, 0.08);
    background: var(--sidebar-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--sidebar-border);
    border-radius: 12px;
    padding: 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
    overflow: hidden;
  }

  .license-admin-sidebar .nav-item {
    margin-bottom: 0.25rem;
  }

  .license-admin-sidebar .nav-item:last-child {
    margin-bottom: 0;
  }

  .license-admin-sidebar .nav-link {
    color: var(--sidebar-text);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
  }

  .license-admin-sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.9;
    transition: all 0.25s ease;
  }

  .license-admin-sidebar .nav-link:hover {
    color: #d8bb50;
    background: var(--sidebar-hover);
  }

  .license-admin-sidebar .nav-link:hover i {
    opacity: 1;
    color: #d8bb50;
  }

  .license-admin-sidebar .nav-link.active {
    background: var(--sidebar-active);
    color: #d8bb50;
    font-weight: 600;
    border-left: 3px solid #d8bb50;
    box-shadow: 0 2px 8px rgba(255, 220, 97, 0.15);
  }

  .license-admin-sidebar .nav-link.active i {
    opacity: 1;
    color: #d8bb50;
  }

  .license-admin-sidebar .nav-link.active:hover {
    color: #e5ca68;
    background: linear-gradient(135deg, rgba(255, 220, 97, 0.2) 0%, rgba(255, 207, 38, 0.25) 100%);
    box-shadow: 0 2px 12px rgba(255, 220, 97, 0.25);
  }

  .license-admin-sidebar .nav-link.disabled {
    color: var(--sidebar-text-muted);
    background: transparent;
    opacity: 0.5;
    cursor: not-allowed;
  }

  .license-admin-sidebar .nav-link.disabled:hover {
    color: var(--sidebar-text-muted);
    background: transparent;
  }

  /* Responsividade do sidebar */
  @media (min-width: 1400px) {
    .license-admin-sidebar .nav-link {
      padding: 0.8rem 1.1rem;
      font-size: 1rem;
    }
  }

  @media (min-width: 1200px) and (max-width: 1399px) {
    .license-admin-sidebar .nav-link {
      padding: 0.75rem 1rem;
      font-size: 0.95rem;
    }
  }

  @media (min-width: 992px) and (max-width: 1199px) {
    .license-admin-sidebar {
      padding: 0.7rem;
    }

    .license-admin-sidebar .nav-link {
      padding: 0.7rem 0.95rem;
      font-size: 0.9rem;
    }

    .license-admin-sidebar .nav-link i {
      font-size: 0.95rem;
    }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .license-admin-sidebar {
      margin-bottom: 1.25rem;
      padding: 0.7rem;
    }

    .license-admin-sidebar .nav-link {
      padding: 0.75rem 1rem;
      font-size: 0.95rem;
    }
  }

  @media (min-width: 576px) and (max-width: 767px) {
    .license-admin-sidebar {
      padding: 0.65rem;
      margin-bottom: 1.25rem;
    }

    .license-admin-sidebar .nav-link {
      padding: 0.7rem 0.9rem;
      font-size: 0.9rem;
    }

    .license-admin-sidebar .nav-link i {
      margin-right: 0.7rem;
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 575px) {
    .license-admin-sidebar {
      padding: 0.6rem;
      margin-bottom: 1rem;
    }

    .license-admin-sidebar .nav-link {
      padding: 0.65rem 0.85rem;
      font-size: 0.875rem;
    }

    .license-admin-sidebar .nav-link i {
      margin-right: 0.65rem;
      font-size: 0.95rem;
    }
  }

  :root {
    --ck-color-base-background: #111215 !important;
    /* Design system – Admin (cards, tables, alerts, sidebar) */
    --app-admin-bg: #0d0e10;
    --app-admin-card-bg: #15171a;
    --app-admin-border: rgba(255, 220, 97, 0.2);
    --app-admin-header-bg: linear-gradient(135deg, rgba(255, 220, 97, 0.12) 0%, rgba(255, 122, 22, 0.08) 100%);
    --app-admin-text: #e8eaed;
    --app-admin-text-muted: #8b929a;
    --app-admin-success: #2d8a4e;
    --app-admin-warning: #c9971a;
    --app-admin-danger: #c0393b;
    --app-admin-gradient: linear-gradient(180deg, #FFDC61 -11.61%, #FFCF26 28.5%, #FF7A16 100%);
    --app-admin-gradient-hover: linear-gradient(180deg, #e0c150 -11.61%, #dab01b 28.5%, #d6640c 100%);
  }

  /* ==========================================================================
     Área Admin – padrão moderno (cards, tabelas, alertas, navbar)
     Use body.app-admin para aplicar em todo o painel / License admin
     ========================================================================== */

  .app-admin .card {
    background: var(--app-admin-card-bg);
    border: 1px solid var(--app-admin-border);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    color: var(--app-admin-text);
  }

  .app-admin .card-header {
    background: var(--app-admin-header-bg);
    border-bottom: 1px solid var(--app-admin-border);
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--app-admin-text);
  }

  .app-admin .card-header h5,
  .app-admin .card-header h6 {
    margin: 0;
    color: inherit;
    font-weight: 600;
  }

  .app-admin .card-body {
    padding: 1.25rem;
    color: var(--app-admin-text);
  }

  .app-admin .card-footer {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--app-admin-text-muted);
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--app-admin-border);
  }

  .app-admin .table-responsive {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--app-admin-border);
  }

  .app-admin .table {
    margin-bottom: 0;
    color: var(--app-admin-text);
  }

  .app-admin .table thead th {
    background: rgba(0, 0, 0, 0.35);
    color: var(--app-admin-text);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--app-admin-border);
  }

  .app-admin .table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.15s ease;
  }

  .app-admin .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .app-admin .table tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    vertical-align: middle;
  }

  .app-admin .table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.02);
  }

  .app-admin .table-striped > tbody > tr:nth-of-type(odd):hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .app-admin .table .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 6px;
  }

  .app-admin .table .badge.bg-success { background: var(--app-admin-success) !important; color: #fff; }
  .app-admin .table .badge.bg-warning { background: var(--app-admin-warning) !important; color: #111; }
  .app-admin .table .badge.bg-danger { background: var(--app-admin-danger) !important; color: #fff; }
  .app-admin .table .badge.bg-primary { background: var(--app-admin-gradient) !important; color: #111215; }

  .app-admin .alert {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
  }

  .app-admin .alert-success { border-left: 4px solid var(--app-admin-success); }
  .app-admin .alert-danger { border-left: 4px solid var(--app-admin-danger); }
  .app-admin .alert-warning { border-left: 4px solid var(--app-admin-warning); }
  .app-admin .alert-info { border-left: 4px solid #0dcaf0; }
  .app-admin .alert-primary { border-left: 4px solid #FFCF26; }

  .app-admin .text-muted { color: var(--app-admin-text-muted) !important; }

  /* Stat cards (dashboard) */
  .app-admin .stat-card {
    border-left: 4px solid #FFCF26 !important;
    background: var(--app-admin-card-bg) !important;
    border: 1px solid var(--app-admin-border) !important;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  }

  .app-admin .stat-card .card-body h6 {
    color: var(--app-admin-text-muted);
    font-weight: 500;
  }

  .app-admin .stat-card .card-body h3 {
    color: var(--app-admin-text);
    font-weight: 700;
  }

  /* Navbar admin (painel standalone) */
  .app-admin .navbar-admin {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-bottom: 1px solid var(--app-admin-border);
  }

  /* Inputs e selects: retangulares, sem hexágono – padrão moderno na admin */
  .app-admin .input-box {
    clip-path: none !important;
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
    max-width: 100%;
  }

  .app-admin .form-control,
  .app-admin .form-select {
    clip-path: none !important;
    background: #111215;
    color: var(--app-admin-text);
    border: 1px solid var(--app-admin-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    min-height: 2.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .app-admin .form-control:focus,
  .app-admin .form-select:focus {
    background: #0d0e10;
    color: var(--app-admin-text);
    border-color: rgba(255, 220, 97, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 220, 97, 0.2);
    outline: none;
  }

  .app-admin .form-control::placeholder {
    color: var(--app-admin-text-muted);
  }

  /* Botões na admin: retangulares, cantos arredondados */
  .app-admin .btn {
    clip-path: none !important;
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
  }

  .app-admin .btn:hover {
    clip-path: none !important;
    border-radius: 10px;
    transform: translateY(-1px);
  }

  .app-admin .btn-success {
    background: var(--app-admin-success) !important;
    border: none;
    color: #fff !important;
  }

  .app-admin .btn-success:hover {
    background: #248a48 !important;
    color: #fff !important;
  }

  .app-admin .form-label {
    color: var(--app-admin-text);
  }

  .app-admin .page-head {
    color: var(--app-admin-text);
  }

  .app-admin .table.table-sm tbody td,
  .app-admin .table.table-sm thead th {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .app-admin .btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }

  .app-admin .badge-status {
    font-size: 0.75rem;
  }

  .app-admin .card-body.text-center {
    color: var(--app-admin-text-muted);
  }

  .app-admin .card-body.text-center .fa-folder-open {
    font-size: 2.5rem;
    opacity: 0.6;
    display: block;
    margin-bottom: 0.5rem;
  }

  .app-admin .table code {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.2em 0.5em;
    border-radius: 6px;
    font-size: 0.85em;
  }

  .app-admin main,
  .app-admin .container-fluid {
    padding-bottom: 2rem;
  }

.ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
    border-width: 1px;
    border: 3px solid;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border-image-slice: 100%;
    border-image-slice: 1;
  }


  .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
    border-width: 1px;
    border: 3px solid;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border-image-slice: 100%;
    border-image-slice: 1;
    border-bottom: 0;
    
  }

  .ck-button{
    color:#fff;
  }

  .ck-focused {
    border-width: 1px !important;
    border: 3px solid !important;
    border-image-outset: 0 !important;
    border-image-repeat: stretch !important;
    border-image-slice: 100% !important;
    border-image-source: none !important;
    border-image-width: 1 !important;
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%) !important;
    border-image-slice: 100% !important;
    border-image-slice: 1 !important;
  }

  .popover-header{
    background: linear-gradient(180deg,#e0c150 -11.61%,#dab01b 28.5%,#d6640c 100%);
  }

  .modal{
    border-radius:0;
    --bs-modal-border-radius:0
  }

  #alerts-wrapper .alert-primary{
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%) !important;
    -webkit-border-bottom-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%) !important;
  }

  #topbar{
    font-size:1.1rem;
  }

  #consent-popup{
    color:#333;
    background: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border: unset;
    border-width: 1px;
    border: 3px solid #FFDC61;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-image: linear-gradient(180deg,#FFDC61 -11.61%,#FFCF26 28.5%,#FF7A16 100%);
    border-image-slice: 100%;
    border-image-slice: 1;
    font-size: 1em !important;
}

.border-primary{
  border-color: #FFDC61 !important;
}
.card-img-overlay > .list-group {
  font-size: 0.8rem; /* Mantém o texto compacto */
  overflow-y: auto; /* Ativa a rolagem vertical */
  max-height: 400px; /* Campo de informações dos planos – altura maior */
  border-radius: 8px; /* Cantos arredondados */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra sutil para destaque */
  background: rgba(255, 255, 255, 0.8); /* Fundo semitransparente */
  backdrop-filter: blur(10px); /* Efeito de desfoque no fundo */
}

/* Barra de rolagem personalizada */
.card-img-overlay > .list-group::-webkit-scrollbar {
  width: 6px; /* Largura da barra */
}

.card-img-overlay > .list-group::-webkit-scrollbar-track {
  background: transparent; /* Trilho transparente */
}

.card-img-overlay > .list-group::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4); /* Dedal semitransparente */
  border-radius: 3px; /* Arredondamento do dedal */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Bordas que combinam */
}

.card-img-overlay > .list-group::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6); /* Realce ao passar o mouse */
}

/* ---------- Planos (home) - responsivo ---------- */
.card-plan {
  position: relative;
}
/* Desativa o efeito de movimento (hvr-bounce-in) no hover (desktop), ao clicar e em touch */
.card-plan.hvr-bounce-in:hover,
.card-plan.hvr-bounce-in:active {
  transform: none !important;
}
@media (hover: none) {
  .card-plan.hvr-bounce-in:hover {
    transform: none !important;
  }
}
/* Wrapper limita o overlay só à imagem, evitando cobrir o botão Comprar */
.card-plan-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}
.card-plan .card-footer {
  position: relative;
  z-index: 10;
  background-color: #333 !important;
  border-top: 1px solid rgba(255,255,255,.1);
}
.card-plan .card-plan-img {
  object-fit: cover;
  min-height: 280px;
  display: block;
  width: 100%;
}
.card-plan-overlay {
  margin-top: 320px;
}
@media (min-width: 992px) {
  .card-plan-overlay {
    margin-top: 220px;
  }
}
@media (max-width: 991px) {
  .card-plan-overlay {
    margin-top: 180px;
  }
  .card-plan .card-plan-img {
    min-height: 220px;
  }
}
@media (max-width: 576px) {
  .card-plan {
    margin-bottom: 0.5rem;
  }
  .card-plan .card-footer {
    padding: 0.6rem 0.75rem;
  }
  .card-plan-overlay {
    margin-top: 0;
  }
  .card-plan .card-plan-img {
    min-height: 200px;
  }
  .card-img-overlay > .list-group {
    max-height: 140px;
    font-size: 0.75rem;
  }
}

/* ---------- Modais - mobile ---------- */
@media (max-width: 576px) {
  #termsModal .modal-dialog,
  #modalCheckout .modal-dialog {
    max-width: 100%;
    margin: 0.5rem;
  }
  #termsModal .modal-body,
  #modalCheckout .modal-body {
    padding: 0.75rem;
    max-height: 70vh;
    overflow-y: auto;
  }
  #termsModal .modal-header,
  #modalCheckout .modal-header {
    padding: 0.5rem 0.75rem;
  }
  #termsModal .modal-title,
  #modalCheckout .modal-title {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Página de Pedidos de Licença (Admin) – InfinitePay
   ========================================================================== */

.license-orders-page {
  --orders-bg: #0d0e10;
  --orders-card-bg: #15171a;
  --orders-border: rgba(255, 220, 97, 0.2);
  --orders-header-bg: linear-gradient(135deg, rgba(255, 220, 97, 0.12) 0%, rgba(255, 122, 22, 0.08) 100%);
  --orders-text: #e8eaed;
  --orders-text-muted: #8b929a;
  --orders-success: #2d8a4e;
  --orders-warning: #c9971a;
  --orders-danger: #c0393b;
  padding: 0 0 2rem;
}

.license-orders-title {
  color: var(--orders-text);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* Card principal */
.license-orders-card {
  background: var(--orders-card-bg);
  border: 1px solid var(--orders-border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.license-orders-card-header {
  background: var(--orders-header-bg);
  border-bottom: 1px solid var(--orders-border);
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  color: var(--orders-text);
}

.license-orders-card-subtitle {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--orders-text-muted);
  font-weight: 400;
}

.license-orders-card-body {
  padding: 1.25rem;
}

/* Estado vazio */
.license-orders-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--orders-text-muted);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px dashed var(--orders-border);
}

.license-orders-empty .fa-credit-card {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

/* Tabela */
.license-orders-table-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--orders-border);
}

.license-orders-table {
  margin-bottom: 0;
  color: var(--orders-text);
}

.license-orders-thead th {
  background: rgba(0, 0, 0, 0.35);
  color: var(--orders-text);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--orders-border);
  white-space: nowrap;
}

.license-orders-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.15s ease;
}

.license-orders-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.license-orders-table tbody tr:last-child {
  border-bottom: none;
}

.license-orders-table tbody td {
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  vertical-align: middle;
}

/* Badges de status – alinhados ao tema */
.license-orders-table .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35em 0.65em;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.license-orders-table .badge.bg-success {
  background: var(--orders-success) !important;
  color: #fff;
}

.license-orders-table .badge.bg-warning {
  background: var(--orders-warning) !important;
  color: #111;
}

.license-orders-table .badge.bg-danger {
  background: var(--orders-danger) !important;
  color: #fff;
}

/* Rodapé da tabela */
.license-orders-footer {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--orders-text-muted);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--orders-border);
  border-radius: 0 0 12px 12px;
}

/* Responsivo – pedidos */
@media (max-width: 768px) {
  .license-orders-page {
    padding-bottom: 1.5rem;
  }

  .license-orders-title {
    font-size: 1.4rem;
  }

  .license-orders-card-header,
  .license-orders-card-body {
    padding: 1rem;
  }

  .license-orders-table-wrap {
    margin: 0 -0.5rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .license-orders-thead th,
  .license-orders-table tbody td {
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
  }

  .license-orders-footer {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Integração do tema admin na página principal (home)
   Aplica o estilo moderno e consistente em todo o site
   ========================================================================== */

/* Body principal - manter fundo escuro mas mais suave */
body:not(.app-admin) {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #e8eaed;
    min-height: 100vh;
}

/* Cards principais com tema admin */
.card:not(.app-admin .card) {
    background: rgba(21, 23, 26, 0.95);
    border: 1px solid rgba(255, 220, 97, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:not(.app-admin .card):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 220, 97, 0.15);
}

/* Headers dos cards */
.card-header:not(.app-admin .card-header) {
    background: linear-gradient(135deg, rgba(255, 220, 97, 0.12) 0%, rgba(255, 122, 22, 0.08) 100%);
    border-bottom: 1px solid rgba(255, 220, 97, 0.2);
    color: #e8eaed;
    font-weight: 600;
}

/* ==========================================================================
   Correções para Mobile - Apenas Dropdown
   ========================================================================== */

/* Dropdown no mobile - Correção simples */
@media (max-width: 768px) {
    /* Dropdown principal - ESCONDIDO POR PADRÃO */
    .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
        width: 100% !important;
        min-width: 280px !important;
        background: rgba(21, 23, 26, 0.98) !important;
        border: 1px solid rgba(255, 220, 97, 0.3) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(10px) !important;
        z-index: 999999 !important;
        margin-top: 10px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Dropdown VISÍVEL quando clicado */
    .dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Botão dropdown no mobile */
    .dropdown-toggle {
        width: 100% !important;
        padding: 12px 16px !important;
        background: linear-gradient(135deg, #FFDC61 0%, #FF7A16 100%) !important;
        color: #111215 !important;
        border: none !important;
        border-radius: 10px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .dropdown-toggle:hover {
        background: linear-gradient(135deg, #e0c150 0%, #d6640c 100%) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 16px rgba(255, 220, 97, 0.4) !important;
    }
    
    /* Form dentro do dropdown */
    .dropdown-menu form {
        padding: 16px !important;
    }
    
    .form-control {
        background: rgba(17, 18, 21, 0.9) !important;
        border: 1px solid rgba(255, 220, 97, 0.3) !important;
        border-radius: 10px !important;
        color: #e8eaed !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .form-control:focus {
        background: rgba(13, 14, 16, 0.95) !important;
        border-color: rgba(255, 220, 97, 0.6) !important;
        box-shadow: 0 0 0 3px rgba(255, 220, 97, 0.2) !important;
        color: #fff !important;
        outline: none !important;
    }
    
    .form-label {
        color: #e8eaed !important;
        font-weight: 500 !important;
        margin-bottom: 8px !important;
        font-size: 14px !important;
    }
    
    /* Botão de submit no mobile */
    .btn-primary {
        width: 100% !important;
        padding: 12px 20px !important;
        background: linear-gradient(135deg, #FFDC61 0%, #FF7A16 100%) !important;
        color: #111215 !important;
        border: none !important;
        border-radius: 10px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .btn-primary:hover {
        background: linear-gradient(135deg, #e0c150 0%, #d6640c 100%) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 16px rgba(255, 220, 97, 0.4) !important;
    }
}

/* Planos de compra - cards especiais */
.card-plan {
    background: rgba(21, 23, 26, 0.98);
    border: 2px solid rgba(255, 220, 97, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.card-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFDC61 0%, #FFCF26 50%, #FF7A16 100%);
}

.card-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 220, 97, 0.25);
    border-color: rgba(255, 220, 97, 0.5);
}

/* Footer dos cards de plano */
.card-plan .card-footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 220, 97, 0.2);
    backdrop-filter: blur(10px);
}

/* Botões de compra - tema consistente */
.btn:not(.app-admin .btn):not(.btn-sm) {
    background: linear-gradient(180deg, #FFDC61 -11.61%, #FFCF26 28.5%, #FF7A16 100%);
    border: none;
    border-radius: 10px;
    color: #111215;
    font-weight: 600;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn:not(.app-admin .btn):not(.btn-sm)::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 ease;
}

.btn:not(.app-admin .btn):not(.btn-sm):hover::before {
    left: 100%;
}

.btn:not(.app-admin .btn):not(.btn-sm):hover {
    background: linear-gradient(180deg, #e0c150 -11.61%, #dab01b 28.5%, #d6640c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 220, 97, 0.4);
}

/* Botão principal de compra (destaque) */
.btn-primary:not(.app-admin .btn-primary) {
    background: linear-gradient(180deg, #FFDC61 -11.61%, #FFCF26 28.5%, #FF7A16 100%);
    box-shadow: 0 4px 16px rgba(255, 220, 97, 0.3);
}

.btn-primary:not(.app-admin .btn-primary):hover {
    box-shadow: 0 6px 24px rgba(255, 220, 97, 0.5);
}

/* Inputs e selects na página principal */
.form-control:not(.app-admin .form-control),
.form-select:not(.app-admin .form-select) {
    background: rgba(17, 18, 21, 0.9);
    border: 1px solid rgba(255, 220, 97, 0.3);
    border-radius: 10px;
    color: #e8eaed;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.form-control:not(.app-admin .form-control):focus,
.form-select:not(.app-admin .form-select):focus {
    background: rgba(13, 14, 16, 0.95);
    border-color: rgba(255, 220, 97, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 220, 97, 0.2);
    color: #fff;
    outline: none;
}

.form-control:not(.app-admin .form-control)::placeholder {
    color: #8b929a;
}

/* Navegação principal */
.navbar:not(.app-admin .navbar) {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 220, 97, 0.2);
}

.navbar:not(.app-admin .navbar) .navbar-brand {
    color: #FFDC61;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:not(.app-admin .nav-link) {
    color: #acb5bf;
    transition: color 0.2s ease;
}

.nav-link:not(.app-admin .nav-link):hover {
    color: #FFDC61;
}

/* Links na página */
a:not(.app-admin a) {
    color: #FFDC61;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:not(.app-admin a):hover {
    color: #FFCF26;
    text-decoration: underline;
}

/* Textos e títulos */
h1, h2, h3, h4, h5, h6:not(.app-admin h1, .app-admin h2, .app-admin h3, .app-admin h4, .app-admin h5, .app-admin h6) {
    color: #e8eaed;
    font-weight: 600;
}

.text-muted:not(.app-admin .text-muted) {
    color: #8b929a !important;
}

/* Badges */
.badge:not(.app-admin .badge) {
    background: rgba(255, 220, 97, 0.2);
    color: #FFDC61;
    border-radius: 6px;
    font-weight: 600;
}

/* Alertas */
.alert:not(.app-admin .alert) {
    background: rgba(21, 23, 26, 0.95);
    border: 1px solid rgba(255, 220, 97, 0.3);
    border-radius: 10px;
    color: #e8eaed;
    backdrop-filter: blur(10px);
}

/* Modais */
.modal-content:not(.app-admin .modal-content) {
    background: rgba(21, 23, 26, 0.98);
    border: 2px solid rgba(255, 220, 97, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.modal-header:not(.app-admin .modal-header) {
    background: linear-gradient(135deg, rgba(255, 220, 97, 0.12) 0%, rgba(255, 122, 22, 0.08) 100%);
    border-bottom: 1px solid rgba(255, 220, 97, 0.2);
    border-radius: 14px 14px 0 0;
}

/* Tabelas */
.table:not(.app-admin .table) {
    color: #e8eaed;
}

.table:not(.app-admin .table) thead th {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 220, 97, 0.2);
    color: #FFDC61;
    font-weight: 600;
}

.table:not(.app-admin .table) tbody tr {
    border-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.table:not(.app-admin .table) tbody tr:hover {
    background: rgba(255, 220, 97, 0.05);
}

/* Seção de planos - destaque especial */
.pricing-section {
    background: rgba(13, 14, 16, 0.6);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 220, 97, 0.1);
}

/* Preços dos planos */
.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFDC61;
    text-shadow: 0 2px 8px rgba(255, 220, 97, 0.3);
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
}

/* Features dos planos */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #acb5bf;
}

.feature-list li::before {
    content: '✓';
    color: #FFDC61;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Animações sutis */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-plan {
    animation: fadeInUp 0.6s ease-out;
}

.card-plan:nth-child(2) {
    animation-delay: 0.1s;
}

.card-plan:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFDC61 0%, #FF7A16 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFCF26 0%, #d6640c 100%);
}

/* Responsivo – integração home */
@media (max-width: 768px) {
    body:not(.app-admin) {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    }
    
    .card-plan {
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .btn:not(.app-admin .btn):not(.btn-sm) {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Página de Termos e Política – Design Moderno L2JPremium
   ========================================================================== */

/* Fundo moderno para a página de termos */
body:has(.terms-page-container) {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 220, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 122, 22, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #0d0e10 25%, #16213e 50%, #1a1a2e 75%, #0a0a0a 100%);
    background-attachment: fixed;
    position: relative;
}

body:has(.terms-page-container)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 220, 97, 0.03) 2px, rgba(255, 220, 97, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 220, 97, 0.03) 2px, rgba(255, 220, 97, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

body:has(.terms-page-container) > * {
    position: relative;
    z-index: 1;
}

/* Esconde apenas o sidebar na página de termos */
body:has(.terms-page-container) .row > .col-md-2 {
    display: none !important;
}

body:has(.terms-page-container) .row > .col-md-10 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Container principal da página de termos */
.terms-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    width: 100%;
}

/* Cabeçalho da página de termos */
.terms-page-header {
    background: linear-gradient(135deg, rgba(255, 220, 97, 0.15) 0%, rgba(255, 122, 22, 0.12) 100%);
    border: 1px solid rgba(255, 220, 97, 0.3);
    border-radius: 16px 16px 0 0;
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.terms-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFDC61 0%, #FFCF26 50%, #FF7A16 100%);
}

.terms-page-header h1 {
    color: #FFDC61;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(255, 220, 97, 0.3);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.terms-page-subtitle {
    color: #acb5bf;
    font-size: 1.1rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card de conteúdo dos termos */
.terms-content-card {
    background: rgba(21, 23, 26, 0.98);
    border: 1px solid rgba(255, 220, 97, 0.25);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

/* Conteúdo interno dos termos */
.terms-content-body {
    padding: 3.5rem 3rem;
    color: #e8eaed;
    line-height: 1.9;
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* Tipografia dentro do conteúdo de termos */
.terms-content-body h1,
.terms-content-body h2,
.terms-content-body h3,
.terms-content-body h4,
.terms-content-body h5,
.terms-content-body h6 {
    color: #FFDC61;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
    text-align: left;
}

.terms-content-body h1 {
    font-size: 2rem;
    border-bottom: 2px solid rgba(255, 220, 97, 0.3);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.terms-content-body h2 {
    font-size: 1.75rem;
    color: #FFCF26;
    position: relative;
    padding-left: 1.25rem;
}

.terms-content-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(180deg, #FFDC61 0%, #FF7A16 100%);
    border-radius: 2px;
}

.terms-content-body h3 {
    font-size: 1.5rem;
    color: #FF7A16;
}

.terms-content-body h4 {
    font-size: 1.25rem;
}

.terms-content-body p {
    margin-bottom: 1.25rem;
    color: #d0d3d6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.terms-content-body strong,
.terms-content-body b {
    color: #FFDC61;
    font-weight: 600;
}

.terms-content-body a {
    color: #FFCF26;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.terms-content-body a:hover {
    color: #FF7A16;
}

/* Listas dentro do conteúdo */
.terms-content-body ul,
.terms-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #d0d3d6;
}

.terms-content-body ul li,
.terms-content-body ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    text-align: left;
}

.terms-content-body ul li::marker {
    color: #FFDC61;
}

.terms-content-body ol li::marker {
    color: #FFDC61;
    font-weight: 600;
}

/* Blocos de código/citações */
.terms-content-body code {
    background: rgba(0, 0, 0, 0.4);
    color: #FFDC61;
    padding: 0.2em 0.6em;
    border-radius: 6px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 220, 97, 0.2);
}

.terms-content-body pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 220, 97, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.terms-content-body pre code {
    background: none;
    border: none;
    padding: 0;
    color: #e8eaed;
}

.terms-content-body blockquote {
    background: rgba(255, 220, 97, 0.05);
    border-left: 4px solid #FFDC61;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    color: #d0d3d6;
    font-style: italic;
    text-align: left;
}

/* Tabelas dentro do conteúdo */
.terms-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 220, 97, 0.2);
    display: table;
}

.terms-content-body table thead {
    background: rgba(255, 220, 97, 0.15);
}

.terms-content-body table thead th {
    padding: 1rem;
    color: #FFDC61;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid rgba(255, 220, 97, 0.3);
}

.terms-content-body table tbody td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #d0d3d6;
    text-align: left;
}

.terms-content-body table tbody tr:hover {
    background: rgba(255, 220, 97, 0.05);
}

/* Separadores horizontais */
.terms-content-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 220, 97, 0.5) 50%, transparent 100%);
    margin: 2.5rem 0;
}

/* Rodapé da página de termos */
.terms-page-footer {
    padding: 1.75rem 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 220, 97, 0.2);
    color: #8b929a;
    font-size: 0.95rem;
    text-align: center;
}

.terms-last-updated {
    color: #acb5bf;
    font-weight: 500;
    margin: 0;
    display: inline-block;
}

.terms-last-updated strong {
    color: #FFDC61;
}

/* Seções destacadas */
.terms-highlight-box {
    background: rgba(255, 220, 97, 0.08);
    border: 1px solid rgba(255, 220, 97, 0.25);
    border-left: 4px solid #FFDC61;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.terms-highlight-box h4 {
    margin-top: 0;
    color: #FFDC61;
}

.terms-warning-box {
    background: rgba(255, 122, 22, 0.08);
    border: 1px solid rgba(255, 122, 22, 0.25);
    border-left: 4px solid #FF7A16;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.terms-warning-box h4 {
    margin-top: 0;
    color: #FF7A16;
}

/* Navegação interna (índice) */
.terms-toc {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 220, 97, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.terms-toc h3 {
    margin-top: 0;
    color: #FFDC61;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.terms-toc ul {
    list-style: none;
    padding-left: 0;
}

.terms-toc ul li {
    margin-bottom: 0.5rem;
}

.terms-toc ul li a {
    color: #acb5bf;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
}

.terms-toc ul li a:hover {
    color: #FFDC61;
    background: rgba(255, 220, 97, 0.1);
}

/* Botão voltar ao topo */
.terms-back-to-top {
    display: inline-block;
    background: linear-gradient(180deg, #FFDC61 0%, #FF7A16 100%);
    color: #111215;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 220, 97, 0.3);
}

.terms-back-to-top:hover {
    background: linear-gradient(180deg, #e0c150 0%, #d6640c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 220, 97, 0.5);
    color: #111215;
}

/* Responsivo – Página de termos */
@media (max-width: 992px) {
    .terms-page-container {
        padding: 2rem 1rem;
    }
    
    .terms-page-header {
        padding: 2rem 1.5rem;
    }
    
    .terms-page-header h1 {
        font-size: 2rem;
    }
    
    .terms-page-subtitle {
        font-size: 1rem;
    }
    
    .terms-content-body {
        padding: 2.5rem 1.5rem;
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .terms-page-container {
        padding: 1.5rem 0.75rem;
    }
    
    .terms-page-header {
        padding: 1.75rem 1.25rem;
        border-radius: 12px 12px 0 0;
    }
    
    .terms-page-header h1 {
        font-size: 1.75rem;
        line-height: 1.4;
    }
    
    .terms-page-subtitle {
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
    
    .terms-content-card {
        border-radius: 0 0 12px 12px;
    }
    
    .terms-content-body {
        padding: 2rem 1.25rem;
        font-size: 0.95rem;
        line-height: 1.8;
        text-align: left;
    }
    
    .terms-content-body h1 {
        font-size: 1.65rem;
        margin-top: 2rem;
    }
    
    .terms-content-body h2 {
        font-size: 1.45rem;
        margin-top: 1.75rem;
    }
    
    .terms-content-body h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .terms-content-body ul,
    .terms-content-body ol {
        padding-left: 1.5rem;
    }
    
    .terms-page-footer {
        padding: 1.25rem;
        font-size: 0.85rem;
    }
    
    .terms-content-body table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .terms-content-body table thead th,
    .terms-content-body table tbody td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    body:has(.terms-page-container) {
        background: linear-gradient(135deg, #0a0a0a 0%, #0d0e10 50%, #0a0a0a 100%);
    }
    
    .terms-page-container {
        padding: 1rem 0.5rem;
    }
    
    .terms-page-header {
        padding: 1.5rem 1rem;
        border-radius: 10px 10px 0 0;
    }
    
    .terms-page-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .terms-page-subtitle {
        font-size: 0.875rem;
        margin-top: 0.5rem;
        line-height: 1.5;
    }
    
    .terms-content-card {
        border-radius: 0 0 10px 10px;
    }
    
    .terms-content-body {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
        line-height: 1.75;
    }
    
    .terms-content-body h1 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .terms-content-body h2 {
        font-size: 1.25rem;
        padding-left: 1rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .terms-content-body h2::before {
        width: 3px;
    }
    
    .terms-content-body h3 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }
    
    .terms-content-body h4 {
        font-size: 1rem;
    }
    
    .terms-content-body p {
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .terms-content-body ul,
    .terms-content-body ol {
        padding-left: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .terms-content-body ul li,
    .terms-content-body ol li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }
    
    .terms-highlight-box,
    .terms-warning-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .terms-toc {
        padding: 1rem;
    }
    
    .terms-page-footer {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .terms-content-body blockquote {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .terms-content-body pre {
        padding: 1rem;
        font-size: 0.8rem;
        overflow-x: auto;
    }
    
    .terms-content-body code {
        font-size: 0.85em;
        word-break: break-word;
    }
}
