@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   MAGO PLAY - VIP Ultra-Premium Dark Sunset Fire & Solar Gold Theme
   Inspirado no visual esportivo & cinematográfico Solar Flame / Dark Obsidian
   ========================================================================= */

:root {
  /* Core Deep Obsidian & Velvet Charcoal Palette */
  --bg-main: #030508;
  --bg-surface: #070c14;
  --bg-sidebar: #05080f;
  --bg-card: rgba(8, 14, 24, 0.85);
  --bg-card-hover: rgba(12, 20, 34, 0.95);
  --bg-glass: rgba(8, 14, 24, 0.78);
  --bg-glass-modal: rgba(5, 9, 16, 0.98);
  
  /* Brand Solar Gold, Sunset Flame & Crimson Fire */
  --primary-gold: #ffd600;
  --primary-gold-light: #ffe552;
  --primary-gold-dark: #f59e0b;
  
  --accent-orange: #ff6b00;
  --accent-orange-light: #ff8533;
  --accent-orange-dark: #e65100;
  --accent-flame: #ff3b30;
  --accent-red: #ef4444;
  --accent-amber: #f59e0b;
  --accent-coral: #ff7043;
  --accent-emerald: #10b981;
  --accent-cyan: #38bdf8;

  /* Glows */
  --accent-glow: rgba(255, 107, 0, 0.45);
  --accent-glow-subtle: rgba(255, 107, 0, 0.14);
  --accent-glow-gold: rgba(255, 214, 0, 0.5);
  --accent-glow-flame: rgba(255, 59, 48, 0.45);

  /* Legacy variable aliases for 100% backwards compatibility */
  --primary-lime: var(--primary-gold);
  --primary-lime-light: var(--primary-gold-light);
  --primary-lime-dark: var(--primary-gold-dark);
  --accent-teal: var(--accent-orange);
  --accent-teal-dark: var(--accent-orange-dark);
  --primary-pink: var(--accent-flame);
  --primary-pink-light: var(--accent-orange-light);
  --primary-pink-dark: var(--accent-flame);
  --border-orange: var(--border-flame);
  --border-orange-strong: var(--border-flame-strong);
  --border-pink: var(--border-flame);
  --border-pink-strong: var(--border-flame-strong);
  --grad-orange: var(--grad-brand);
  --grad-orange-hover: var(--grad-brand-hover);
  --grad-pink: var(--grad-brand);
  --grad-lime: var(--grad-gold);
  --grad-teal: var(--grad-flame);

  /* Luxury Gradients - Solar Sunset & Flame Fire */
  --grad-brand: linear-gradient(135deg, #ffd600 0%, #ff6b00 50%, #ff3b30 100%);
  --grad-brand-vertical: linear-gradient(180deg, #ffd600 0%, #ff6b00 60%, #ff3b30 100%);
  --grad-brand-hover: linear-gradient(135deg, #ffe552 0%, #ff8533 50%, #ff5247 100%);
  --grad-gold: linear-gradient(135deg, #ffd600 0%, #f59e0b 100%);
  --grad-flame: linear-gradient(135deg, #ff6b00 0%, #ff3b30 100%);
  --grad-search: linear-gradient(90deg, #ffd600 0%, #ff6b00 45%, #e65100 80%, #b71c1c 100%);
  --grad-badge-pill: linear-gradient(90deg, #ffd600 0%, #ff8533 50%, #ff3b30 100%);
  --grad-ember-dark: linear-gradient(180deg, rgba(20, 14, 10, 0.9) 0%, rgba(8, 5, 3, 0.98) 100%);
  --grad-header: linear-gradient(135deg, #ffffff 15%, #ffd600 55%, #ff6b00 100%);
  --grad-sidebar: linear-gradient(180deg, #070b13 0%, #030509 100%);
  --grad-danger: linear-gradient(135deg, #ff3b30 0%, #b91c1c 100%);
  --grad-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* Borders & Shadows */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-flame: 1px solid rgba(255, 107, 0, 0.35);
  --border-flame-strong: 2px solid rgba(255, 107, 0, 0.65);
  --border-card-mago: 2px solid rgba(255, 107, 0, 0.45);
  --border-gold: 1px solid rgba(255, 214, 0, 0.45);
  --border-glow-top: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  
  --shadow-card: 0 18px 45px -8px rgba(0, 0, 0, 0.92), 0 0 25px rgba(255, 107, 0, 0.12), 0 0 20px rgba(255, 214, 0, 0.08);
  --shadow-card-hover: 0 22px 55px -5px rgba(0, 0, 0, 0.96), 0 0 35px rgba(255, 107, 0, 0.3), 0 0 25px rgba(255, 214, 0, 0.22);
  --shadow-glow: 0 0 28px rgba(255, 107, 0, 0.55);
  --shadow-glow-gold: 0 0 24px rgba(255, 214, 0, 0.6);
  --shadow-glow-sm: 0 0 14px rgba(255, 107, 0, 0.4);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Global Reset & Base */
html, body {
  font-family: var(--font-body);
  background-color: var(--bg-main) !important;
  background-image: 
    radial-gradient(circle at 85% 12%, rgba(255, 107, 0, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255, 214, 0, 0.11) 0%, transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(255, 59, 48, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.08) 0%, transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 42px 42px, 42px 42px;
  background-attachment: fixed;
  color: #f1f5f9;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide Scrollbars Everywhere */
html, body, #sidebar-wrapper, .table-responsive, div {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.gradient-text, 
.card-header h2, 
.card-body h3 {
  background: var(--grad-header);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  color: var(--primary-gold);
  transition: all 0.25s ease;
  text-decoration: none !important;
}
a:hover {
  color: var(--accent-orange-light);
  text-shadow: 0 0 12px var(--accent-glow);
}

/* Particles Canvas */
#js-particles {
  display: none !important;
}

/* ==========================================================================
   Sidebar Navigation (Sunset Fire Luxury Obsidian Style)
   ========================================================================== */
#wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  position: relative;
}

#sidebar-wrapper {
  height: 100vh;
  position: fixed !important;
  top: 0;
  left: 0;
  bottom: 0;
  width: 18rem !important;
  min-width: 18rem !important;
  background: var(--grad-sidebar) !important;
  border-right: 1px solid rgba(255, 107, 0, 0.25) !important;
  box-shadow: 8px 0 35px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  transition: all 0.25s ease-out;
  display: flex;
  flex-direction: column;
  z-index: 1040;
  white-space: nowrap !important;
  overflow-y: auto;
  overflow-x: hidden;
}

#sidebar-wrapper .list-group {
  width: 100% !important;
  padding: 0.5rem 0.85rem;
  gap: 4px;
  white-space: nowrap !important;
}

/* Brand Box in Sidebar */
.infinity-brand-box {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.6rem 1.25rem 1.1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
  background: rgba(7, 11, 19, 0.98) !important;
  backdrop-filter: blur(20px);
}

.infinity-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-hex-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.2) 0%, rgba(255, 107, 0, 0.2) 100%);
  border: 1.5px solid rgba(255, 107, 0, 0.6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.35);
}

.brand-hex-icon i {
  font-size: 1.5rem;
  color: var(--primary-gold);
  filter: drop-shadow(0 0 8px rgba(255, 214, 0, 0.8));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-top: 3px;
}

.infinity-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 4px 14px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-gold);
  text-transform: uppercase;
  box-shadow: inset 0 0 10px rgba(255, 107, 0, 0.1);
}

.sidebar-category-header {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #718096;
  text-transform: uppercase;
  padding: 0.75rem 0.75rem 0.35rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.25) 0%, transparent 100%);
}

/* Nav Item Styling */
.infinity-nav-item {
  display: flex !important;
  align-items: center;
  gap: 13px;
  padding: 0.82rem 1.05rem !important;
  color: #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.infinity-nav-item i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  color: var(--primary-gold);
  transition: all 0.22s ease;
}

.infinity-nav-item:hover {
  background: rgba(255, 107, 0, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateX(4px);
}

.infinity-nav-item:hover i {
  color: #ffffff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--accent-glow-gold));
}

/* Active Nav Item - Sunset Fire Pill */
.infinity-nav-item.active {
  background: var(--grad-brand) !important;
  color: #030508 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5), 0 0 15px rgba(255, 214, 0, 0.35);
  transform: scale(1.02);
}

.infinity-nav-item.active i {
  color: #030508 !important;
  filter: none !important;
}

.badge-ad {
  background: #030508;
  color: var(--primary-gold);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  border: 1px solid rgba(255, 214, 0, 0.6);
}

.infinity-nav-item.active .badge-ad {
  background: #030508;
  color: var(--primary-gold);
  border-color: #030508;
}

.sidebar-footer-box {
  border-top: 1px solid rgba(255, 107, 0, 0.18);
  padding: 1rem 0.5rem;
  font-size: 0.75rem;
  color: #718096;
  background: rgba(4, 7, 12, 0.98);
}

.sidebar-footer-box strong, 
.sidebar-footer-box span {
  color: var(--primary-gold);
  font-weight: 700;
}

/* Sidebar Toggle for Mobile / Responsive */
.sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1035;
}

#wrapper.toggled .sidebar-backdrop {
  display: block;
}

@media (max-width: 991.98px) {
  #sidebar-wrapper {
    transform: translateX(-100%);
    box-shadow: none;
  }
  #wrapper.toggled #sidebar-wrapper {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.95);
  }
  #page-content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  #sidebar-wrapper {
    transform: none !important;
  }
  #page-content-wrapper {
    margin-left: 18rem !important;
    width: calc(100% - 18rem) !important;
  }
  .btn-infinity-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   Page Content & Sticky Top Navbar
   ========================================================================== */
#page-content-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
}

.navbar-infinity {
  background: rgba(6, 10, 18, 0.92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.22);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.navbar-infinity-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.pulse-dot-green {
  width: 10px;
  height: 10px;
  background: var(--primary-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-gold);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 214, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 214, 0, 0); }
}

.btn-infinity-toggle {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  transition: all 0.2s ease;
}
.btn-infinity-toggle:hover {
  background: var(--grad-brand);
  color: #030508;
}

.nav-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-full);
  color: #e2e8f0 !important;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-pill-item:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.35);
  color: #ffffff !important;
}

.nav-pill-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.15) 0%, rgba(255, 107, 0, 0.15) 100%);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-full);
  color: #f87171 !important;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-btn-logout:hover {
  background: var(--grad-danger);
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   Main Cards (Sunset Fire Luxury Rounded Box)
   ========================================================================== */
.dns-main-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-card-mago) !important;
  border-radius: var(--radius-lg) !important;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  margin-bottom: 2rem;
}

.dns-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.dns-main-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 214, 0, 0.7) !important;
}

.dns-page-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
}

.dns-header-icon {
  font-size: 1.4rem;
  color: var(--primary-gold);
  filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.6));
}

/* ==========================================================================
   Tables & DataTables Styling (Sunset Fire Edition)
   ========================================================================== */
.table-responsive {
  border: none;
  background: transparent;
  overflow-x: auto;
}

.infinity-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  margin-top: 0.5rem;
}

.infinity-table thead th {
  background: rgba(10, 16, 28, 0.95) !important;
  border: none !important;
  color: var(--primary-gold) !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  border-bottom: 1.5px solid rgba(255, 107, 0, 0.35) !important;
}

.infinity-table thead th:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.infinity-table thead th:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.infinity-table tbody tr {
  background: rgba(9, 15, 26, 0.8) !important;
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md) !important;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.infinity-table tbody tr:hover {
  background: rgba(14, 22, 38, 0.95) !important;
  transform: scale(1.006);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 107, 0, 0.25);
}

.infinity-table tbody td {
  border: none !important;
  padding: 1rem 1.2rem !important;
  vertical-align: middle !important;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.infinity-table tbody tr td:first-child {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  border-left: 2.5px solid transparent;
  transition: border-color 0.2s ease;
}

.infinity-table tbody tr:hover td:first-child {
  border-left-color: var(--primary-gold);
}

.infinity-table tbody tr td:last-child {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* Badges & Elements inside Table */
.badge-id {
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(255, 107, 0, 0.4);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
}

.dns-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.dns-url {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  color: #fbd38d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 214, 0, 0.12);
  border: 1px solid rgba(255, 214, 0, 0.4);
  color: var(--primary-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dot-online {
  width: 7px;
  height: 7px;
  background: var(--primary-gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary-gold);
}

.btn-copy-action {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--primary-gold) !important;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-copy-action:hover {
  background: var(--grad-brand);
  color: #030508 !important;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.6);
}

.btn-action-edit {
  background: rgba(255, 214, 0, 0.15);
  border: 1px solid rgba(255, 214, 0, 0.35);
  color: var(--primary-gold) !important;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transition: all 0.2s ease;
}

.btn-action-edit:hover {
  background: var(--grad-gold);
  color: #030508 !important;
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(255, 214, 0, 0.5);
}

.btn-action-delete {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171 !important;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-action-delete:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}

.btn-action-edit i,
.btn-action-delete i,
.btn-copy-action i {
  pointer-events: none !important;
}

/* DataTables pagination and search controls */
.dataTables_wrapper .dataTables_length, 
.dataTables_wrapper .dataTables_filter, 
.dataTables_wrapper .dataTables_info, 
.dataTables_wrapper .dataTables_paginate {
  color: #94a3b8 !important;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.dataTables_wrapper .dataTables_filter input {
  background: rgba(10, 16, 28, 0.8) !important;
  border: 1px solid rgba(255, 107, 0, 0.35) !important;
  border-radius: var(--radius-sm);
  color: #ffffff !important;
  padding: 6px 12px;
  margin-left: 8px;
  outline: none;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.4) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: rgba(10, 16, 28, 0.8) !important;
  border: 1px solid rgba(255, 107, 0, 0.25) !important;
  color: #e2e8f0 !important;
  border-radius: var(--radius-sm) !important;
  padding: 4px 12px !important;
  margin: 0 3px;
  transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--grad-brand) !important;
  color: #030508 !important;
  border-color: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--grad-brand) !important;
  color: #030508 !important;
  font-weight: 800 !important;
  border: none !important;
}

/* ==========================================================================
   Buttons (Sunset Fire Gradient CTAs)
   ========================================================================== */
.btn-add-dns, 
.btn-primary, 
.btn-success {
  background: var(--grad-brand) !important;
  color: #030508 !important;
  font-family: var(--font-heading);
  font-weight: 800 !important;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 0.75rem 1.6rem;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4), 0 0 12px rgba(255, 214, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-add-dns:hover, 
.btn-primary:hover, 
.btn-success:hover {
  background: var(--grad-brand-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.6), 0 0 20px rgba(255, 214, 0, 0.45);
  color: #030508 !important;
}

.btn-add-dns:active, 
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(15, 23, 38, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-danger {
  background: var(--grad-danger) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   Form Controls & Inputs
   ========================================================================== */
.form-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-control {
  background: rgba(8, 14, 24, 0.88) !important;
  border: 1px solid rgba(255, 107, 0, 0.35) !important;
  border-radius: var(--radius-md) !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  padding: 0.75rem 1.1rem;
  transition: all 0.22s ease;
}

.form-control-lg {
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

.form-control:focus {
  background: rgba(12, 20, 34, 0.98) !important;
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25), 0 0 15px rgba(255, 214, 0, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: #64748b !important;
}

/* Custom File Upload Styling */
input[type="file"],
input[type="file"].form-control,
.form-control[type="file"] {
  width: 100% !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 6px 10px !important;
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  color: #cbd5e1 !important;
  background: rgba(8, 14, 24, 0.88) !important;
  border: 1px solid rgba(255, 107, 0, 0.35) !important;
  border-radius: var(--radius-md) !important;
  line-height: normal !important;
  transition: all 0.25s ease;
}

input[type="file"]:focus,
input[type="file"].form-control:focus {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25), 0 0 15px rgba(255, 214, 0, 0.25) !important;
}

input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
  background: var(--grad-brand) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  color: #030508 !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.5px !important;
  padding: 8px 18px !important;
  margin-right: 14px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
}

input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--grad-brand-hover) !important;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.55) !important;
  transform: translateY(-1px) !important;
}

.custom-file {
  position: relative;
  display: block;
  width: 100%;
  height: calc(1.5em + 1.25rem + 2px);
  margin-bottom: 0;
}

.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(1.5em + 1.25rem + 2px);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + 1.25rem + 2px);
  padding: 0.75rem 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #cbd5e1;
  background-color: rgba(8, 14, 24, 0.88);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  line-height: 1.5;
  color: #030508;
  content: "Escolher Arquivo";
  background: var(--grad-brand);
  border-left: inherit;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.alert {
  border-radius: var(--radius-md) !important;
  font-weight: 600;
  padding: 0.95rem 1.25rem;
  backdrop-filter: blur(12px);
  border: none;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid #10b981 !important;
  color: #a7f3d0 !important;
}

.alert-info {
  background: rgba(255, 107, 0, 0.15) !important;
  border: 1px solid rgba(255, 107, 0, 0.4) !important;
  color: #ffd600 !important;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid #ef4444 !important;
  color: #fca5a5 !important;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid #f59e0b !important;
  color: #fde68a !important;
}

/* ==========================================================================
   Auth / Login Screen & Showcase Layout
   ========================================================================== */
.infinity-layout-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.infinity-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary-gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.18);
  backdrop-filter: blur(10px);
}

.infinity-pill-tag i {
  font-size: 0.95rem;
  color: var(--primary-gold);
}

.infinity-hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.infinity-hero-headline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.85rem;
}

.text-brand-glow {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.infinity-hero-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 2.2rem;
  max-width: 480px;
}

.infinity-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .infinity-layout-wrapper {
    padding: 2rem 1rem;
  }
  .infinity-hero-title {
    font-size: 2.6rem;
  }
  .infinity-feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (max-width: 575.98px) {
  .infinity-feature-grid {
    grid-template-columns: 1fr;
  }
}

.infinity-feature-card {
  background: rgba(8, 14, 24, 0.75);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 14px;
  padding: 1.2rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.infinity-feature-card:hover {
  background: rgba(14, 22, 38, 0.95);
  border-color: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
}

.infinity-feature-card i {
  font-size: 1.6rem;
  color: var(--primary-gold);
  filter: drop-shadow(0 0 8px rgba(255, 214, 0, 0.6));
}

.infinity-feature-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.35;
}

.infinity-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.infinity-mini-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  backdrop-filter: blur(10px);
}

.infinity-mini-badge-item i {
  color: var(--primary-gold);
}

.infinity-brand-hologram {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 1.4rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mago-magic-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.2) 0%, rgba(255, 107, 0, 0.2) 100%);
  border: 2px solid rgba(255, 107, 0, 0.6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.4);
  position: relative;
  z-index: 2;
}

.infinity-glowing-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 24px;
  border: 2px solid rgba(255, 214, 0, 0.4);
  animation: pulseHolo 2.5s infinite;
  z-index: 1;
}

@keyframes pulseHolo {
  0% { transform: scale(0.96); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.9; box-shadow: 0 0 20px rgba(255, 107, 0, 0.5); }
  100% { transform: scale(0.96); opacity: 0.4; }
}

.infinity-auth-card {
  background: rgba(8, 14, 24, 0.92) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 107, 0, 0.5) !important;
  border-radius: var(--radius-xl);
  padding: 2.8rem 2.4rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 107, 0, 0.25), 0 0 20px rgba(255, 214, 0, 0.15);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.infinity-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

.infinity-auth-logo-box {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.4rem auto;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.2) 0%, rgba(255, 107, 0, 0.2) 100%);
  border: 2px solid rgba(255, 107, 0, 0.6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.4);
}

.infinity-card-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.25rem;
}

.infinity-card-subheading {
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 2rem;
}

.infinity-input-group {
  margin-bottom: 1.3rem;
  text-align: left;
}

.infinity-input-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.infinity-input-control {
  width: 100%;
  background: rgba(6, 10, 18, 0.95);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
}

.infinity-input-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25), 0 0 20px rgba(255, 214, 0, 0.25);
  background: rgba(9, 15, 26, 0.98);
}

.btn-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.btn-toggle-password:hover {
  color: var(--primary-gold);
}

.infinity-btn-cta {
  width: 100%;
  background: var(--grad-brand) !important;
  border: none !important;
  border-radius: var(--radius-md);
  padding: 0.95rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #030508 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5), 0 0 15px rgba(255, 214, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.infinity-btn-cta:hover {
  background: var(--grad-brand-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.7), 0 0 20px rgba(255, 214, 0, 0.5);
  color: #030508 !important;
}

.infinity-btn-cta:active {
  transform: translateY(0);
}

.infinity-card-footer {
  text-align: center;
  margin-top: 2rem;
  color: #64748b;
  font-size: 0.75rem;
}

/* ==========================================================================
   Bootstrap Modal Stacking & Clickability Fix
   ========================================================================== */
.modal {
  z-index: 1060 !important;
}

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

.modal-dialog {
  z-index: 1070 !important;
  pointer-events: auto !important;
}

.modal-content {
  position: relative !important;
  z-index: 1080 !important;
  pointer-events: auto !important;
}

.modal-footer button,
.modal-footer a,
.modal-header button,
.modal-header .close {
  position: relative !important;
  z-index: 1090 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
