/* 
/profile-css/profile-tabs.css
==========================================================================
   3. DESAIN TAB NAVIGASI (DESKTOP & UMUM)
   ========================================================================== */
.linkedin-tabs-wrap {
  background: var(--li-card);
  border: 1px solid var(--li-border);
  border-radius: var(--li-radius);
  padding: 6px 12px;
  margin: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.linkedin-tabs-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border: none;
  flex-wrap: nowrap;
}

.linkedin-tabs-nav::-webkit-scrollbar {
  display: none;
}

.linkedin-tabs-nav .nav-link {
  border: none;
  border-radius: 8px;
  font-weight: 700;
  color: var(--li-text-muted);
  padding: 10px 16px;
  font-size: 0.88rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.linkedin-tabs-nav .nav-link:hover {
  background-color: #f1f5f9;
  color: var(--li-text-main);
}

.linkedin-tabs-nav .nav-link.active {
  background-color: #e8f3fc;
  color: var(--li-primary);
}

.tab-counter {
  background: #cbd5e1;
  color: #1e293b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.linkedin-tabs-nav .nav-link.active .tab-counter {
  background: var(--li-primary);
  color: #ffffff;
}

/* ==========================================================================
   REDESAIN KHUSUS MOBILE & TOMBOL MELAYANG (FLYING BUTTON)
   ========================================================================== */

/* Banner tab aktif di mobile */
.mobile-active-tab-bar {
  display: none;
}

@media (max-width: 767.98px) {
  /* Sembunyikan tab horizontal acak-acakan di mobile */
  .linkedin-tabs-wrap.desktop-only-tabs {
    display: none !important;
  }

  /* Tampilkan bar indikator tab aktif di atas konten */
  .mobile-active-tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--li-border);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 14px 0 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .mobile-active-tab-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--li-text-main);
  }

  /* TOMBOL FLYING (FLOATING ACTION BUTTON) */
  .flying-tab-btn {
  position: fixed;
  bottom: 24px;
  left: 20px; /* Diubah dari right: 20px agar pindah ke kiri */
  z-index: 1040;
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.45);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  outline: none;
}

  .flying-tab-btn:hover,
  .flying-tab-btn:focus {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.55);
  }

  .flying-tab-btn i {
    font-size: 1.1rem;
  }
}

/* Offcanvas / Bottom-sheet Drawer untuk menu tab mobile */
.mobile-tab-drawer .offcanvas-body {
  padding: 12px 16px 24px 16px;
}

.mobile-tab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-tab-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  transition: all 0.2s ease;
  text-align: left;
}

.mobile-tab-btn .tab-left-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-tab-btn .tab-left-content i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.mobile-tab-btn.active {
  background-color: #e8f3fc;
  border-color: #0a66c2;
  color: #0a66c2;
  font-weight: 700;
}

.mobile-tab-btn.active .tab-counter {
  background-color: #0a66c2;
  color: #ffffff;
}