/**
 * Çiçek Bloom - Premium Admin Stylesheet
 * Incorporating Glassmorphism, Custom Pink-Purple Gradients, Soft Transitions, and Dark Mode Support.
 */

:root {
  --admin-primary: #D05F8E;
  --admin-primary-hover: #e1327a;
  --admin-secondary: #7B2CBF;
  --admin-bg-pink: #FDF2F7;
  --admin-border: #F9DCE7;
  --admin-dark-bg: #110e10;
  --admin-dark-card: #1c1316;
  --admin-dark-border: #2c1a21;
}

/* Glassmorphism card utility classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dark .glass-panel {
  background: rgba(28, 19, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Custom Soft shadows */
.shadow-premium {
  box-shadow: 0 10px 40px -10px rgba(225, 42, 128, 0.05), 
              0 2px 12px -2px rgba(123, 44, 191, 0.03);
}

/* Gradient effects */
.gradient-primary {
  background: linear-gradient(135deg, #D05F8E 0%, #7B2CBF 100%);
}

.gradient-hover:hover {
  background: linear-gradient(135deg, #e1327a 0%, #8e3bc6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 42, 128, 0.2);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #E5A5C2;
  border-radius: 9999px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #3a222c;
}

/* Custom checkbox/toggle styling for smooth transition operations */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ddd;
  transition: .4s;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background: linear-gradient(135deg, #D05F8E 0%, #7B2CBF 100%);
}
input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* General transitions */
.smooth-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulse animation for notifications */
.badge-ping {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  border-radius: 9999px;
  height: 8px;
  width: 8px;
  background-color: #ff4f9b;
}

/* Image Dropzone Animations */
.dropzone-active {
  background-color: rgba(225, 42, 128, 0.05);
  border-color: #D05F8E;
}
