/* JSG-Portal Custom Styles */

/* Sidebar Links */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: all 0.15s ease;
  text-decoration: none;
}

.sidebar-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  border-right: 3px solid #34d058;
}

/* Toast Animations */
@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.animate-slide-in {
  animation: slide-in 0.3s ease-out;
}

.animate-slide-out {
  animation: slide-out 0.3s ease-in forwards;
}

/* Custom scrollbar for sidebar */
aside::-webkit-scrollbar {
  width: 4px;
}

aside::-webkit-scrollbar-track {
  background: transparent;
}

aside::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* Details/Summary */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

/* Form inputs focus */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Table hover */
tbody tr {
  transition: background-color 0.1s ease;
}

/* Modal backdrop */
.modal-backdrop {
  backdrop-filter: blur(4px);
}
