@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow {
  0% { box-shadow: 0 0 15px rgba(6, 167, 255, 0.3); }
  100% { box-shadow: 0 0 25px rgba(6, 167, 255, 0.6), 0 0 40px rgba(6, 167, 255, 0.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes tooltipFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:root {
    --font-sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body {
    font-family: var(--font-sans) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    font-family: inherit;
}

.font-sans {
    font-family: var(--font-sans) !important;
}



#numbersTable {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  table-layout: fixed;
  width: 100% !important;
}

#numbersTable thead th {
  background-color: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 600;
  color: #475569;
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: center !important;
}

#numbersTable thead th:nth-child(1) { width: 10% !important; }
#numbersTable thead th:nth-child(2) { width: 20% !important; }
#numbersTable thead th:nth-child(3) { width: 20% !important; }
#numbersTable thead th:nth-child(4) { width: 25% !important; }
#numbersTable thead th:nth-child(5) { width: 15% !important; }
#numbersTable thead th:nth-child(6) { width: 10% !important; }

#numbersTable tbody td:nth-child(1) { width: 10% !important; }
#numbersTable tbody td:nth-child(2) { width: 20% !important; }
#numbersTable tbody td:nth-child(3) { width: 20% !important; }
#numbersTable tbody td:nth-child(4) { width: 25% !important; }
#numbersTable tbody td:nth-child(5) { width: 15% !important; }
#numbersTable tbody td:nth-child(6) { width: 10% !important; }

#numbersTable tbody tr {
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
  will-change: background-color, transform, box-shadow;
}

#numbersTable tbody tr:hover,
#numbersTable tbody tr.hover-restored {
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#numbersTable tbody tr:hover {
  animation: none !important;
}

#numbersTable tbody tr {
  backface-visibility: hidden;
  transform: translateZ(0);
}

#numbersTable tbody td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}


.status-indicator {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-waiting {
  background-color: #fef3c7;
  color: #92400e;
}

.status-success {
  background-color: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background-color: #fee2e2;
  color: #991b1b;
}

.status-canceled {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 0.25rem 0.5rem;
}


.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  margin: 0 0.125rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background-color: white;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  min-width: 2.5rem;
  height: 2.5rem;
}

.pagination-btn:hover:not(.disabled) {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}

.pagination-btn:focus:not(.disabled) {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.pagination-btn.active {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.pagination-btn.active:hover {
  background-color: #3b82f6;
  color: white;
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f8fafc;
}

.pagination-btn.disabled:hover {
  background-color: #f8fafc;
}

.pagination-btn i {
  font-size: 0.75rem;
}


.dt-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.dt-button.danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.dt-button.danger:hover {
  background-color: #fecaca;
  transform: translateY(-0.5px);
}


.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.copy-btn:hover {
  opacity: 1;
  background-color: rgba(59, 130, 246, 0.1);
  transform: scale(1.1);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn i {
  font-size: 0.625rem;
}


.custom-tooltip {
  position: fixed !important;
  background-color: #1f2937;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 10000 !important;
  pointer-events: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  animation: tooltipFadeIn 0.2s ease forwards;
  max-width: 200px;
  word-wrap: break-word;
}

.custom-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f2937;
}


.dataTables_wrapper {
  position: relative;
  overflow: visible !important;
  width: 100% !important;
}

.dataTables_wrapper table {
  width: 100% !important;
  table-layout: fixed !important;
}

.dataTables_wrapper .dataTables_scroll {
  overflow: visible !important;
  width: 100% !important;
}

.dataTables_wrapper .dataTables_scrollBody {
  overflow: visible !important;
  width: 100% !important;
}

.dataTables_wrapper table tbody td {
  text-align: center !important;
}

.dataTables_wrapper table tbody td * {
  text-align: center !important;
}

.dataTables_wrapper table tbody td .flex {
  justify-content: center !important;
}

.dataTables_wrapper table thead th {
  text-align: center !important;
}

.dataTables_wrapper table thead th * {
  text-align: center !important;
}

#numbersTable thead tr {
  border-bottom: 1px solid #e5e7eb !important;
}

#numbersTable thead th {
  border-bottom: 1px solid #e5e7eb !important;
  text-align: center !important;
}

.dataTables_wrapper table thead tr,
.dataTables_wrapper table thead th {
  border-bottom: 1px solid #e5e7eb !important;
  text-align: center !important;
}

.dataTables_wrapper .dataTables_processing {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  font-weight: 500;
  color: #64748b;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  display: none !important;
}

#numbersTable tbody tr:first-child td {
  border-top: none !important;
}

#numbersTable tbody tr {
  border-bottom: 1px solid #f3f4f6 !important;
  transition: all 0.2s ease;
}

#numbersTable tbody tr:hover {
  background-color: #f8fafc !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#numbersTable tbody tr:hover td {
  border-color: #e2e8f0 !important;
}

#numbersTable tbody td {
  padding: 1rem 1.5rem !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #f3f4f6 !important;
  text-align: center !important;
}

#numbersTable tbody td * {
  text-align: center !important;
}

#numbersTable tbody td .flex {
  justify-content: center !important;
}

#numbersTable tbody td .status-indicator {
  margin: 0 auto !important;
}

#numbersTable tbody td .dt-button {
  margin: 0 auto !important;
}


.status-indicator .copy-btn {
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

.status-indicator .copy-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}


#numbersTable {
  border-radius: 0 !important;
}

.dataTables_wrapper {
  border-radius: 0 !important;
}

.dataTables_wrapper .dataTables_scroll {
  border-radius: 0 !important;
}

.dataTables_wrapper .dataTables_scrollBody {
  border-radius: 0 !important;
}

.overflow-visible {
  border-radius: 0 !important;
}


.overflow-x-auto::-webkit-scrollbar {
  height: 6px;
}

.overflow-x-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


@media (max-width: 768px) {
  #numbersTable {
    font-size: 0.75rem;
  }
  
  #numbersTable tbody td {
    padding: 0.75rem 1rem !important;
    text-align: center !important;
  }

  #numbersTable tbody td * {
    text-align: center !important;
  }

  #numbersTable tbody td .flex {
    justify-content: center !important;
  }

  .pagination-btn {
    padding: 0.375rem 0.5rem;
    min-width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }

  #pagination-container {
    flex-direction: column;
    space-y: 1rem;
  }
}

@layer utilities {

  .content-auto {
    content-visibility: auto;
  }

  .backdrop-blur-xs {
    backdrop-filter: blur(2px);
  }
  .backdrop-blur-md {
    backdrop-filter: blur(8px);
  }
  .backdrop-blur-lg {
    backdrop-filter: blur(16px);
  }

  .glass-base {
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
  }
  
  .glass-effect {
    background: rgba(16, 23, 35, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 10, 32, 0.2);
    @apply glass-base;
  }
  
  .glass-effect-light {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 10, 32, 0.08);
    @apply glass-base;
  }
  
  .glass-card {
    background: rgba(16, 23, 35, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    @apply glass-base;
  }
  
  .glass-card:hover {
    background: rgba(16, 23, 35, 0.6);
    border: 1px solid rgba(14, 143, 255, 0.2);
    box-shadow: 0 10px 40px 0 rgba(14, 143, 255, 0.1);
  }

  .animate-shimmer {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
  }
  
  .animate-gradient {
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
  }

  .gradient-border {
    position: relative;
    border-radius: 0.5rem;
  }
  
  .gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.6rem;
    padding: 2px;
    background: linear-gradient(135deg, #0e8fff, #8b5cf6, #ec4899);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gradient-border:hover::before {
    opacity: 1;
  }

  .border-glow {
    border: 1px solid rgba(14, 143, 255, 0.2);
  }
  
  .gradient-text {
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  @media (max-width: 768px) {
    .glass-card {
      padding: 1rem;
    }
    
    .glass-effect, .glass-effect-light {
      backdrop-filter: blur(8px);
    }
  }
  
  @media (max-width: 480px) {
    .animate-gradient {
      animation-duration: 10s;
    }
    
    .glass-effect, .glass-effect-light, .glass-card {
      backdrop-filter: blur(6px);
    }
  }

  #main-navbar.glass-effect {
    backdrop-filter: blur(20px);
    background: rgba(13, 18, 30, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  @media (min-width: 768px) and (max-width: 1023px) {

    #main-navbar .hidden.md\:flex .md\:space-x-3 {
      gap: 0.5rem !important;
    }
    
    #main-navbar .hidden.md\:flex a {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      font-size: 0.75rem; 
    }

    #main-navbar .flex.items-center a#site-logo {
      margin-right: 2rem;
    }

    #main-navbar .flex.items-center .md\:inline-flex {
      margin-left: 1.5rem;
    }

    #main-navbar .container {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }

    #main-navbar {
      font-size: 0.75rem;
    }
  }
} 
