/* Sol/sağ aside sekmeleri — kayma + fade-in (tüm app sayfaları) */

@keyframes bb-aside-in-left {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bb-aside-in-right {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.left-sidebar .nav-profile-mini,
.left-sidebar [class*='sidebar-guest'],
.left-sidebar .sidebar-section-label,
.left-sidebar .sidebar-nav > li,
.left-sidebar .hamburger-section {
  animation: bb-aside-in-left 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.left-sidebar .nav-profile-mini,
.left-sidebar [class*='sidebar-guest'] {
  animation-delay: 0.05s;
}

.left-sidebar .sidebar-nav > li:nth-child(1) { animation-delay: 0.1s; }
.left-sidebar .sidebar-nav > li:nth-child(2) { animation-delay: 0.14s; }
.left-sidebar .sidebar-nav > li:nth-child(3) { animation-delay: 0.18s; }
.left-sidebar .sidebar-nav > li:nth-child(4) { animation-delay: 0.22s; }
.left-sidebar .sidebar-nav > li:nth-child(5) { animation-delay: 0.26s; }
.left-sidebar .sidebar-nav > li:nth-child(6) { animation-delay: 0.3s; }
.left-sidebar .sidebar-nav > li:nth-child(7) { animation-delay: 0.34s; }
.left-sidebar .sidebar-nav > li:nth-child(8) { animation-delay: 0.38s; }
.left-sidebar .sidebar-nav > li:nth-child(9) { animation-delay: 0.42s; }
.left-sidebar .sidebar-nav > li:nth-child(10) { animation-delay: 0.46s; }
.left-sidebar .sidebar-nav > li:nth-child(11) { animation-delay: 0.5s; }
.left-sidebar .sidebar-nav > li:nth-child(12) { animation-delay: 0.54s; }

.left-sidebar .sidebar-section-label {
  animation-delay: 0.32s;
}

.left-sidebar .hamburger-section {
  animation-delay: 0.48s;
}

.right-sidebar > .sidebar-widget,
.right-sidebar > :not(script):not(.sidebar-widget) {
  animation: bb-aside-in-right 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.right-sidebar > .sidebar-widget:nth-child(1),
.right-sidebar > :not(script):not(.sidebar-widget):nth-child(1) {
  animation-delay: 0.1s;
}
.right-sidebar > .sidebar-widget:nth-child(2),
.right-sidebar > :not(script):not(.sidebar-widget):nth-child(2) {
  animation-delay: 0.16s;
}
.right-sidebar > .sidebar-widget:nth-child(3),
.right-sidebar > :not(script):not(.sidebar-widget):nth-child(3) {
  animation-delay: 0.22s;
}
.right-sidebar > .sidebar-widget:nth-child(4),
.right-sidebar > :not(script):not(.sidebar-widget):nth-child(4) {
  animation-delay: 0.28s;
}
.right-sidebar > .sidebar-widget:nth-child(5),
.right-sidebar > :not(script):not(.sidebar-widget):nth-child(5) {
  animation-delay: 0.34s;
}
.right-sidebar > .sidebar-widget:nth-child(6),
.right-sidebar > :not(script):not(.sidebar-widget):nth-child(6) {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .left-sidebar .nav-profile-mini,
  .left-sidebar [class*='sidebar-guest'],
  .left-sidebar .sidebar-section-label,
  .left-sidebar .sidebar-nav > li,
  .left-sidebar .hamburger-section,
  .right-sidebar > .sidebar-widget,
  .right-sidebar > :not(script):not(.sidebar-widget) {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
