/* ==========================================================================
   VNCODE VINA - DESIGN SYSTEM & TOOL SUITE STYLES (LARAVEL 11)
   ========================================================================== */

/* Tailwind Loaded Separately */

/* Base Layer */
  :root {
    --pnv-blue: #0284c7;
    --pnv-blue-dark: #004d70;
    --pnv-blue-light: #38bdf8;
    --pnv-blue-soft: rgba(2, 132, 199, 0.08);
    --pnv-indigo: #4f46e5;
    --pnv-gold: #f59e0b;
    --pnv-yellow: #fbbf24;
    --pnv-orange: #ea580c;
    --pnv-green: #10b981;
    --pnv-red: #ef4444;
    
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --border-subtle: #e2e8f0;
    --border-hover: #93c5fd;
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(2, 132, 199, 0.06);
    --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
  }
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(99, 102, 241, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(245, 158, 11, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (CLEAN LUMINOUS STYLE)
   ========================================================================== */
.pnv-topbar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 0;
}

.pnv-topbar a {
  color: #e2e8f0;
  transition: color 0.2s;
}

.pnv-topbar a:hover {
  color: #38bdf8;
}

.pnv-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  overflow: visible !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pnv-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.pnv-logo-wrap:hover .pnv-logo-badge {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px -2px rgba(2, 132, 199, 0.3);
}

.pnv-logo-badge {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 8px rgba(2, 99, 142, 0.18));
}

.pnv-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.pnv-logo-text .brand-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0f172a;
}

.brand-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pnv-logo-text span.brand-slogan {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 800;
  letter-spacing: 1.2px;
  white-space: nowrap;
  line-height: 1.2;
}

/* Standout Modern Navigation Links (Luminous Theme) */
.pnv-nav-link {
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  position: relative;
  letter-spacing: -0.2px;
}

@media (min-width: 1366px) {
  .pnv-nav-link {
    font-size: 15px;
    padding: 8px 14px;
  }
}

.pnv-nav-link:hover {
  color: #0284c7;
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

.pnv-nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  border: 1px solid rgba(2, 132, 199, 0.4);
}

.pnv-nav-link.active i {
  color: #ffffff !important;
}

/* Bulletproof Dropdown Navigation Bridge */
.dropdown-group {
  position: relative;
}

.pnv-nav-dropdown-bridge {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  padding-top: 8px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s !important;
  z-index: 1000 !important;
}

.pnv-nav-dropdown-bridge.align-right {
  left: auto !important;
  right: 0 !important;
}

.dropdown-group:hover > .pnv-nav-dropdown-bridge,
.dropdown-group:focus-within > .pnv-nav-dropdown-bridge,
.pnv-nav-dropdown-bridge:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.dropdown-group:hover .fa-chevron-down {
  transform: rotate(180deg);
}

.pnv-tools-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.pnv-btn-quote {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pnv-btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.35);
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
}

/* ==========================================================================
   4 CAM KẾT VÀNG (LUMINOUS MODERN CARDS)
   ========================================================================== */
.commit-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .commit-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .commit-cards-grid {
    grid-template-columns: 1fr;
  }
}

.commit-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.commit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -6px rgba(2, 132, 199, 0.12), 0 4px 12px -2px rgba(2, 132, 199, 0.06);
  border-color: #93c5fd;
}

.commit-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.commit-card:hover .commit-card-icon {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #0284c7;
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.commit-card-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.commit-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES & BENTO HUB SECTION (LUMINOUS CORPORATE STYLE)
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.section-main-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2.35rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

@media (max-width: 768px) {
  .section-main-title {
    font-size: 1.85rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: #475569;
  line-height: 1.65;
}

/* Modern Card Utility */
.pnv-glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pnv-glass-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 20px 45px -6px rgba(2, 132, 199, 0.12);
  transform: translateY(-4px);
}

/* 4 Cột Trụ Dịch Vụ Cốt Lõi */
.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #4f46e5, #f59e0b);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 24px 50px -8px rgba(2, 132, 199, 0.14);
}

.service-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 32px 28px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -6px rgba(2, 132, 199, 0.12);
  border-color: #93c5fd;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #0284c7;
  transform: scale(1.06);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.service-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.service-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-size: 14px;
  font-weight: 700;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-link:hover {
  gap: 10px;
  color: #0369a1;
}

/* ==========================================================================
   ONLINE TOOLS SUITE - PORTAL & CARDS (AS REQUESTED BY USER)
   ========================================================================== */
.tools-showcase-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7fb 100%);
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.tools-portal-header {
  background: linear-gradient(135deg, #004d70 0%, #00648f 100%);
  color: #ffffff;
  padding: 40px 0 60px;
  position: relative;
}

.tools-search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.tools-search-input {
  width: 100%;
  padding: 16px 20px 16px 54px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.tools-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #fee902;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.tools-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 18px;
}

.tools-search-shortcut {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 25px;
}

.category-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-pill:hover,
.category-pill.active {
  background: #fee902;
  color: #004d70;
  border-color: #fee902;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(254, 233, 2, 0.35);
}

.category-pill .pill-count {
  background: rgba(0, 0, 0, 0.15);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 9999px;
}

.category-pill.active .pill-count {
  background: rgba(0, 77, 112, 0.15);
  color: #004d70;
}

/* Portal 2-Column Layout */
.portal-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }
}

.category-section {
  margin-bottom: 45px;
}

.category-header-wrap {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.category-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #00648f;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* Category Cards Grid (4 columns) */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1280px) {
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Modern Tool Card */
.tool-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.tool-card-modern:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(0, 100, 143, 0.12);
}

.tool-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.4px;
}

.tool-card-badge.badge-blue {
  background: #e0f2fe;
  color: #00648f;
}
.tool-card-badge.badge-amber {
  background: #fef3c7;
  color: #b45309;
}
.tool-card-badge.badge-emerald {
  background: #d1fae5;
  color: #065f46;
}
.tool-card-badge.badge-purple {
  background: #ede9fe;
  color: #5b21b6;
}
.tool-card-badge.badge-rose {
  background: #ffe4e6;
  color: #9f1239;
}

.tool-card-illus {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tool-card-illus svg {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.tool-card-modern:hover .tool-card-illus svg {
  transform: scale(1.08);
}

.tool-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.tool-card-modern:hover .tool-card-title {
  color: #00648f;
}

.tool-card-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popular-tool-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popular-tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.popular-tool-item:hover {
  background: #f0f7fb;
  color: #00648f;
}

.popular-tool-check {
  color: #10b981;
  font-weight: bold;
}

/* ==========================================================================
   TOOL WORKSPACE & DETAIL VIEW
   ========================================================================== */
.tool-view-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 60px;
}

.tool-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.breadcrumbs {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: #00648f;
  text-decoration: none;
  font-weight: 600;
}

.btn-back-dashboard {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-back-dashboard:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.quick-switcher-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.quick-switch-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-switch-btn:hover,
.quick-switch-btn.active {
  background: #00648f;
  color: #ffffff;
  border-color: #00648f;
}

/* ==========================================================================
   TOOL WORKSPACE SPECIFIC COMPONENTS (VietQR, 2FA, DNS, Diff, Code, etc.)
   ========================================================================== */
.tool-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #00648f;
  box-shadow: 0 0 0 3px rgba(0, 100, 143, 0.15);
}

.btn-primary-pnv {
  background: linear-gradient(135deg, #00648f 0%, #0088cc 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary-pnv:hover {
  background: linear-gradient(135deg, #004d70 0%, #00648f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 100, 143, 0.25);
}

/* VietQR Workspace */
.vietqr-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

@media (max-width: 860px) {
  .vietqr-wrapper {
    grid-template-columns: 1fr;
  }
}

.qr-preview-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-canvas-container {
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

/* 2FA Ring */
.totp-ring-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 30px 0;
}

.totp-code-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #00648f;
  background: #eaf5fa;
  padding: 12px 28px;
  border-radius: 12px;
  border: 1px solid #bae6fd;
}

/* Diff Checker Container */
.diff-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .diff-container {
    grid-template-columns: 1fr;
  }
}

.diff-box textarea {
  width: 100%;
  height: 260px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  resize: vertical;
}

.diff-output-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.diff-line-add {
  background-color: #dcfce7;
  color: #15803d;
  display: block;
  padding: 2px 6px;
  border-left: 3px solid #22c55e;
}

.diff-line-del {
  background-color: #fee2e2;
  color: #b91c1c;
  display: block;
  padding: 2px 6px;
  border-left: 3px solid #ef4444;
}

/* DNS Records Table */
.dns-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.dns-table th {
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid #cbd5e1;
}

.dns-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13.5px;
  font-family: 'JetBrains Mono', monospace;
}

/* Global Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.toast-success { background: #065f46; border-left: 4px solid #10b981; }
.toast-warning { background: #92400e; border-left: 4px solid #f59e0b; }
.toast-danger  { background: #991b1b; border-left: 4px solid #ef4444; }
.toast-info    { background: #0c4a6e; border-left: 4px solid #0284c7; }

/* Floating Contact Badges */
.floating-contacts {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: all 0.25s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.float-zalo { background: #0068ff; }
.float-phone { background: #10b981; animation: ring-pulse 1.8s infinite; }

@keyframes ring-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   FOOTER (VNCODE VINA STYLE)
   ========================================================================== */
.pnv-footer {
  background: #002e42;
  color: #cbd5e1;
  padding: 60px 0 25px;
  border-top: 4px solid #00648f;
  font-size: 14px;
}

.pnv-footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.pnv-footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: #fee902;
}

.pnv-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pnv-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pnv-footer-links a:hover {
  color: #fee902;
  transform: translateX(4px);
}

.pnv-footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
