/* Custom Styles - Minimalis */

/* Scrollbar Minimal */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.dark ::-webkit-scrollbar-track {
  background: #374151;
}

.dark ::-webkit-scrollbar-thumb {
  background: #4b5563;
}

/* Loading Skeleton */
.skeleton-item {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.dark .skeleton-item {
  background: linear-gradient(90deg, #4b5563 25%, #6b7280 50%, #4b5563 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile-friendly */
@media (max-width: 640px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  button {
    font-size: 0.875rem;
  }
}

/* Accordion Animation */
.accordion-content {
  transition: all 0.2s ease-out;
  overflow: hidden;
}

/* Mobile Dropdown Animation */
.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-dropdown-content.show {
  max-height: 500px;
}

/* Rotate Animation */
.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Focus States */
input:focus, select:focus {
  outline: none;
  ring: 2px;
  ring-color: #10b981;
}

/* Mobile dropdown styles */
.mobile-dropdown-content {
  transition: max-height 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
}

.mobile-dropdown-content:not(.hidden) {
  max-height: 500px;
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
