/* Modern Admin Sidebar Animations and Styles */

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-180deg);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
}

/* Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
  animation-delay: 2s;
}

.animate-float-slow {
  animation: float-slow 10s ease-in-out infinite;
  animation-delay: 4s;
}

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

.animate-fade-in {
  animation: fade-in 0.4s ease-out forwards;
}

/* Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }

/* Sidebar Specific Styles */
.sidebar {
  backdrop-filter: blur(20px);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.sidebar .nav-item {
  position: relative;
  overflow: hidden;
  transform: translateX(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar .nav-item:hover {
  transform: translateX(8px) scale(1.02);
}

.sidebar .nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.sidebar .nav-item:hover::before {
  left: 100%;
}

/* Active state glow effect */
.sidebar .nav-item.bg-white\/25 {
  /* animation: pulse-glow 2s ease-in-out infinite; */
  color: white !important;
}

.sidebar .nav-item.bg-white\/25 * {
  color: white !important;
}

.sidebar .nav-item.bg-white\/25 .text-white\/80 {
  color: rgba(255, 255, 255, 0.9) !important;
}

.sidebar .nav-item.bg-white\/25 .text-white\/60 {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Smooth scrollbar */
.sidebar nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.sidebar nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    width: 100vw;
    border-radius: 0;
  }
}

/* Enhanced hover effects for icons */
.sidebar .nav-item svg {
  transition: all 0.3s ease;
}

.sidebar .nav-item:hover svg {
  transform: scale(1.1) rotate(5deg);
}

/* Backdrop blur support fallback */
@supports not (backdrop-filter: blur(20px)) {
  .sidebar {
    background: rgba(30, 58, 138, 0.95);
  }
}
/* Modern Admin Topbar Styles */

.topbar {
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animation Classes for Topbar */
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(180deg);
  }
}

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

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

.animate-fade-in {
  animation: fade-in 0.5s ease-out forwards;
}

.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 6s ease-in-out infinite;
  animation-delay: 2s;
}

/* Hover Effects */
.topbar button:hover {
  transform: translateY(-1px);
}

.topbar .group:hover svg {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* User Profile Card Hover */
.topbar .bg-white\/10:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Notification Badge Animation */
.topbar .bg-red-500 {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .topbar {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .topbar h2 {
    font-size: 1rem;
  }
}

/* Backdrop Blur Fallback */
@supports not (backdrop-filter: blur(12px)) {
  .topbar {
    background: rgba(30, 58, 138, 0.98) !important;
  }
}

/* Smooth Transitions */
.topbar * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass Morphism Effect */
.topbar .backdrop-blur-sm {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Enhanced Button States */
.topbar button:active {
  transform: translateY(0) scale(0.95);
}

.topbar button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-up {
  animation: fade-in-up 0.4s ease-out forwards;
}

.chat-item.active {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-right: 3px solid #3b82f6;
}

.chat-item.active a {
  background: transparent !important;
}

/* Custom Scrollbar */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Message Input Auto-resize */
#messageInput {
  min-height: 48px;
  max-height: 120px;
}
  .dashboard-page {
    background-color: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  .dashboard-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
  }

  /* Header Styles */
  .dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    color: white;
  }

  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
  }

  .page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0;
  }

  .header-actions {
    display: flex;
    gap: 12px;
  }

  /* Button Styles */
  .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
  }

  .btn-primary {
    background-color: #3b82f6;
    color: white;
  }

  .btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  }

  .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
  }

  /* Stats Grid */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
  }

  .stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
  }

  .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .stat-icon-svg {
    width: 28px;
    height: 28px;
    color: white;
  }

  .bg-blue { background-color: #3b82f6; }
  .bg-green { background-color: #10b981; }
  .bg-yellow { background-color: #f59e0b; }
  .bg-purple { background-color: #8b5cf6; }

  .stat-content {
    flex: 1;
  }

  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1;
  }

  .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
  }

  /* Main Content Grid */
  .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .chart-section {
    display: grid;
    gap: 24px;
  }

  .activity-section {
    display: grid;
    gap: 24px;
  }

  /* Card Styles */
  .chart-card,
  .activity-card,
  .wallet-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }

  .chart-card:hover,
  .activity-card:hover,
  .wallet-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
  }

  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
  }

  .card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
  }

  .card-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
  }

  .card-link:hover {
    color: #2563eb;
  }

  /* Chart Container */
  .chart-container {
    position: relative;
    height: 300px;
    width: 100%;
  }

  /* Activity List */
  .activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .activity-item:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
  }

  .activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .activity-icon-svg {
    width: 20px;
    height: 20px;
    color: white;
  }

  .activity-content {
    flex: 1;
  }

  .activity-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
  }

  .activity-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 4px 0;
  }

  .activity-time {
    font-size: 0.75rem;
    color: #9ca3af;
  }

  /* Status Badges */
  .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .status-pending {
    background-color: #fef3c7;
    color: #92400e;
  }

  .status-in_progress,
  .status-accepted {
    background-color: #d1fae5;
    color: #065f46;
  }

  .status-completed {
    background-color: #dbeafe;
    color: #1e40af;
  }

  .status-rejected,
  .status-cancelled {
    background-color: #fecaca;
    color: #991b1b;
  }

  .status-open {
    background-color: #e0e7ff;
    color: #3730a3;
  }

  /* Wallet Section */
  .wallet-section {
    margin-top: 32px;
  }

  .wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }

  .wallet-item {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
  }

  .wallet-item:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
  }

  .wallet-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
  }

  .wallet-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .content-grid {
      grid-template-columns: 1fr;
    }
    
    .header-content {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  @media (max-width: 768px) {
    .dashboard-container {
      padding: 16px;
    }

    .dashboard-header {
      padding: 24px;
      margin-bottom: 24px;
    }

    .page-title {
      font-size: 2rem;
    }

    .stats-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .stat-card {
      padding: 20px;
    }

    .wallet-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 480px) {
    .page-title {
      font-size: 1.75rem;
    }

    .wallet-grid {
      grid-template-columns: 1fr;
    }

    .header-actions {
      width: 100%;
    }

    .btn {
      flex: 1;
      justify-content: center;
    }
  }

  /* Animation Classes */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .stat-card,
  .chart-card,
  .activity-card,
  .wallet-card {
    animation: fadeInUp 0.6s ease forwards;
  }

  .stat-card:nth-child(1) { animation-delay: 0.1s; }
  .stat-card:nth-child(2) { animation-delay: 0.2s; }
  .stat-card:nth-child(3) { animation-delay: 0.3s; }
  .stat-card:nth-child(4) { animation-delay: 0.4s; }
    /* Custom Animations */
    @keyframes fade-in {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slide-in-left {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slide-in-right {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes pulse-glow {

        0%,
        100% {
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        }

        50% {
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
        }
    }

    .animate-fade-in {
        animation: fade-in 0.8s ease-out forwards;
    }

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

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

    .animate-float {
        animation: float 3s ease-in-out infinite;
    }

    .animate-pulse-glow {
        animation: pulse-glow 2s ease-in-out infinite;
    }

    .delay-200 {
        animation-delay: 0.2s;
    }

    .delay-300 {
        animation-delay: 0.3s;
    }

    .delay-400 {
        animation-delay: 0.4s;
    }

    .delay-500 {
        animation-delay: 0.5s;
    }

    .delay-600 {
        animation-delay: 0.6s;
    }

    /* Form Focus Effects */
    .form-input:focus {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    }

    /* Glassmorphism */
    .glass-effect {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Floating Orbs */
    .floating-orb {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
        filter: blur(1px);
    }

    .orb-1 {
        width: 120px;
        height: 120px;
        top: 10%;
        right: 10%;
        animation: float 6s ease-in-out infinite;
    }

    .orb-2 {
        width: 80px;
        height: 80px;
        bottom: 20%;
        right: 20%;
        animation: float 8s ease-in-out infinite reverse;
    }

    .orb-3 {
        width: 100px;
        height: 100px;
        top: 50%;
        right: 5%;
        animation: float 7s ease-in-out infinite;
    }

    /* Button Hover Effects */
    .btn-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    }

    /* Input Focus Ring */
    .input-focus:focus {
        ring-color: rgb(59 130 246);
        border-color: rgb(59 130 246);
    }
/* Modern Header Styling */
.modern-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sidebar-btn {
  width: 40px;
  height: 40px;
  background: #4f46e5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.sidebar-btn:hover {
  background: #4338ca;
}

.sidebar-btn svg {
  width: 18px;
  height: 18px;
  color: white;
}

.header-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

/* Search trigger — compact ⌘K style bar */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px 0 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 220px;
}

.search-trigger:hover {
  border-color: #c7d2fe;
  background: #f5f3ff;
}

.search-trigger-icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.search-trigger-text {
  flex: 1;
  font-size: 14px;
  color: #9ca3af;
  user-select: none;
}

.search-trigger-kbd {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.search-trigger-kbd kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  font-size: 11px;
  font-family: inherit;
  color: #6b7280;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  line-height: 1.4;
}

/* Notification button */
.notification-btn {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.notification-btn:hover {
  border-color: #c7d2fe;
  background: #f5f3ff;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #ef4444;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  border: 2px solid white;
}

/* Profile button */
.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.profile-btn:hover {
  border-color: #c7d2fe;
  background: #f5f3ff;
}

.profile-avatar {
  width: 28px;
  height: 28px;
  background: #4f46e5;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .search-trigger {
    min-width: 160px;
  }

  .search-trigger-kbd {
    display: none;
  }

  .header-title {
    font-size: 18px;
  }

  .sidebar-btn,
  .notification-btn {
    width: 36px;
    height: 36px;
  }
}
/* ── Needle Cluster Markers ───────────────────────────────────────────────── */
.needle-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: white;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
  transition: transform 0.15s ease;
}

.needle-cluster:hover {
  transform: scale(1.1);
}

.needle-cluster-sm {
  width: 36px;
  height: 36px;
  font-size: 13px;
  background: #4f46e5;
}

.needle-cluster-md {
  width: 44px;
  height: 44px;
  font-size: 14px;
  background: #7c3aed;
}

.needle-cluster-lg {
  width: 52px;
  height: 52px;
  font-size: 15px;
  background: #dc2626;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  overflow: hidden;
}

#map {
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 1;
}

/* Custom Map Controls */
.custom-drop-control {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin-left: 15px !important;
}

.custom-drop-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.custom-drop-control:hover::before {
  left: 100%;
}

.custom-drop-control:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.custom-drop-control:active {
  transform: translateY(0) scale(0.95);
}

.custom-drop-control svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

.custom-drop-control:hover svg {
  transform: scale(1.1);
}

/* Enhanced Zoom Controls */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: none !important;
}

.leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 44px !important;
  margin: 4px !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #374151 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  color: #667eea !important;
}

.leaflet-control-zoom a:active {
  transform: translateY(0) scale(0.95) !important;
}

/* Layer Control Styling */

.leaflet-control-layers-toggle {
  backdrop-filter: blur(10px) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  width: 48px !important;
  height: 48px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.leaflet-control-layers-toggle:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Geocoder Styling */
.leaflet-control-geocoder {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: white !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06) !important;
  overflow: visible !important;
  min-width: 260px !important;
  height: 44px !important;
  padding: 4px 4px 4px 12px !important;
  gap: 6px !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}

.leaflet-control-geocoder:focus-within {
  border-color: #6366f1 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 0 0 3px rgba(99,102,241,0.15) !important;
}

/* Hide the toggle icon — always expanded */
.leaflet-control-geocoder-icon {
  display: none !important;
}

.leaflet-control-geocoder-form {
  display: flex !important;
  flex: 1 !important;
  align-items: center !important;
  height: 100% !important;
  gap: 6px !important;
}

/* Search icon inside the form (left side) */
.leaflet-control-geocoder-form::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.leaflet-control-geocoder-form input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 14px !important;
  color: #111827 !important;
  outline: none !important;
  height: 100% !important;
  min-width: 0 !important;
  box-shadow: none !important;
}

.leaflet-control-geocoder-form input::placeholder {
  color: #9ca3af !important;
}

/* Submit button (right side) */
.leaflet-control-geocoder-form button[type="submit"],
.leaflet-control-geocoder-form input[type="submit"] {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  background: #4f46e5 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 15px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s !important;
  font-size: 0 !important;
}

.leaflet-control-geocoder-form button[type="submit"]:hover {
  background-color: #4338ca !important;
}

/* Dropdown results */
.leaflet-control-geocoder {
  position: relative !important;
}

.leaflet-control-geocoder-alternatives {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  width: 100% !important;
  background: white !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  overflow-y: auto !important;
  max-height: 240px !important;
  padding: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  z-index: 9999 !important;
}

.leaflet-control-geocoder-alternatives li {
  border-radius: 7px !important;
  margin: 0 !important;
}

.leaflet-control-geocoder-alternatives li a {
  padding: 9px 12px !important;
  font-size: 13px !important;
  color: #374151 !important;
  display: block !important;
  border-radius: 7px !important;
  border: none !important;
  text-decoration: none !important;
  transition: background 0.1s !important;
}

.leaflet-control-geocoder-alternatives li a:hover,
.leaflet-control-geocoder-alternatives li.leaflet-control-geocoder-selected a {
  background: #f5f3ff !important;
  color: #4f46e5 !important;
}

/* User Location Icon Animation */
.user-location-icon {
  background: transparent !important;
  border: none !important;
}

/* Loading Animation */
.lds-dual-ring {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 32px;
  height: 32px;
  margin: 4px;
  border-radius: 50%;
  border: 3px solid var(--loader-color, #667eea);
  border-color: var(--loader-color, #667eea) transparent var(--loader-color, #667eea) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Error Banner */
.error-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(239, 68, 68, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 20px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
  z-index: 10000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.error-banner button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.error-banner button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Floating Action Button Style for Drop Control */
.custom-drop-control.active {
  background: linear-gradient(135deg, #FFA502 0%, #FF8717 100%) !important;
  color: white !important;
  box-shadow: 0 8px 32px rgba(255, 165, 2, 0.4) !important;
}

.custom-drop-control.active svg {
  filter: brightness(0) invert(1);
}

/* Smooth Transitions */
* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .custom-drop-control {
    width: 48px;
    height: 48px;
    margin: 6px;
  }

  .custom-drop-control svg {
    width: 20px;
    height: 20px;
  }

  .leaflet-control-zoom a {
    width: 40px !important;
    height: 40px !important;
    line-height: 36px !important;
    font-size: 18px !important;
  }
}

/* Enhanced Marker Bounce Animation */
@keyframes markerBounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    transform: translate3d(0, -8px, 0);
  }

  70% {
    transform: translate3d(0, -4px, 0);
  }

  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* Pulse ring for minimap current-location marker */
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Pulse Animation for User Location */
@keyframes userLocationPulse {
  0% {
    r: 8;
    opacity: 0.8;
  }

  50% {
    r: 16;
    opacity: 0.4;
  }

  100% {
    r: 24;
    opacity: 0;
  }
}

/* Gradient Overlay for Map Container */
#map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1000;
}

/* Notification Dropdown */
.notification-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 360px;
  max-width: 92vw;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
  z-index: 9999;
  overflow: hidden;
  transform-origin: top right;
  animation: notifOpen 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes notifOpen {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}

.notification-dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0;
}

.mark-all-read-btn {
  background: none;
  border: none;
  color: #6366f1;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.15s;
}

.mark-all-read-btn:hover {
  color: #4338ca;
}

/* List */
.notification-list {
  max-height: 360px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.notification-list::-webkit-scrollbar { width: 4px; }
.notification-list::-webkit-scrollbar-track { background: transparent; }
.notification-list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}
.notification-list::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }

/* Item */
.notification-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.notification-item:hover {
  background: #f8fafc;
}

.notification-item:last-child { border-bottom: none; }

.notification-item.unread {
  background: #f5f3ff;
  border-left: 2px solid #6366f1;
}

.notification-item.unread:hover {
  background: #ede9fe;
}

/* Avatar */
.notification-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}

/* Content */
.notification-content { flex: 1; min-width: 0; }

.notification-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.notification-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-time {
  font-size: 10.5px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

.notification-message {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Unread dot */
.notification-unread-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
}

/* Loading */
.notification-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 8px;
  color: #9ca3af;
  font-size: 12px;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Load more */
.notification-load-more {
  padding: 8px 14px;
  border-top: 1px solid #f1f5f9;
}

.load-more-btn {
  width: 100%;
  padding: 7px;
  background: none;
  color: #6366f1;
  border: 1px solid #e0e7ff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.load-more-btn:hover {
  background: #f5f3ff;
  border-color: #c7d2fe;
}

/* Empty */
.notification-empty {
  padding: 32px 20px;
  text-align: center;
}

.notification-empty p {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

/* Slide-in for new notifications */
@keyframes notificationSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.notification-item.new { animation: notificationSlideIn 0.25s ease-out; }

@media (max-width: 640px) {
  .notification-dropdown {
    width: calc(100vw - 24px);
    right: -8px;
  }
}
    /* Custom Animations */
    @keyframes fade-in {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slide-in-left {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slide-in-right {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes pulse-glow {

        0%,
        100% {
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        }

        50% {
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
        }
    }

    @keyframes gradient-shift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    @keyframes scale-in {
        from {
            opacity: 0;
            transform: scale(0.95);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .animate-fade-in {
        animation: fade-in 0.8s ease-out forwards;
    }

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

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

    .animate-float {
        animation: float 3s ease-in-out infinite;
    }

    .animate-pulse-glow {
        animation: pulse-glow 2s ease-in-out infinite;
    }

    .animate-gradient {
        background-size: 200% 200%;
        animation: gradient-shift 3s ease infinite;
    }

    .animate-scale-in {
        animation: scale-in 0.6s ease-out forwards;
    }

    .delay-200 {
        animation-delay: 0.2s;
    }

    .delay-300 {
        animation-delay: 0.3s;
    }

    .delay-400 {
        animation-delay: 0.4s;
    }

    .delay-500 {
        animation-delay: 0.5s;
    }

    .delay-600 {
        animation-delay: 0.6s;
    }

    .delay-700 {
        animation-delay: 0.7s;
    }

    .delay-800 {
        animation-delay: 0.8s;
    }

    /* Form Focus Effects */
    .form-input:focus {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    }

    /* Glassmorphism */
    .glass-effect {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Floating Orbs */
    .floating-orb {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
        filter: blur(1px);
    }

    .orb-1 {
        width: 120px;
        height: 120px;
        top: 10%;
        right: 10%;
        animation: float 6s ease-in-out infinite;
    }

    .orb-2 {
        width: 80px;
        height: 80px;
        bottom: 20%;
        right: 20%;
        animation: float 8s ease-in-out infinite reverse;
    }

    .orb-3 {
        width: 100px;
        height: 100px;
        top: 50%;
        right: 5%;
        animation: float 7s ease-in-out infinite;
    }

    /* Button Hover Effects */
    .btn-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    }

    /* Social Button Effects */
    .social-btn {
        transition: all 0.3s ease;
    }

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    /* Input Focus Ring */
    .input-focus:focus {
        ring-color: rgb(59 130 246);
        border-color: rgb(59 130 246);
    }

    /* Custom Scrollbar */
    .scrollbar::-webkit-scrollbar {
        width: 6px;
    }

    .scrollbar::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

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

    .scrollbar::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
/* ── Search Modal ─────────────────────────────────────────────────────────── */

/* Overlay */
.sm-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sm-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Backdrop */
.sm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Dialog */
.sm-dialog {
  position: relative;
  width: 100%;
  max-width: 660px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(-8px);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: calc(100vh - 120px);
}

.sm-overlay.show .sm-dialog {
  transform: scale(1) translateY(0);
}

/* Input Row */
.sm-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.sm-search-icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
}

.sm-input {
  flex: 1;
  font-size: 17px;
  font-weight: 400;
  color: #0f172a;
  background: transparent;
  border: none;
  outline: none;
  line-height: 1.4;
}

.sm-input::placeholder {
  color: #cbd5e1;
}

.sm-esc-btn {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.15s;
}

.sm-esc-btn:hover {
  background: #f1f5f9;
  color: #64748b;
}

/* Tabs */
.sm-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}

.sm-tabs::-webkit-scrollbar {
  display: none;
}

.sm-tab {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.sm-tab:hover {
  background: #f8fafc;
  color: #334155;
}

.sm-tab.active {
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 600;
}

/* Body */
.sm-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  position: relative;
  min-height: 200px;
}

.sm-body::-webkit-scrollbar {
  width: 4px;
}

.sm-body::-webkit-scrollbar-track {
  background: transparent;
}

.sm-body::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

/* Loader */
.sm-loader {
  position: absolute;
  inset: 0;
  background: white;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 13px;
}

.sm-loader.hidden {
  display: none;
}

.sm-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #e0e7ff;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: sm-spin 0.7s linear infinite;
}

@keyframes sm-spin {
  to { transform: rotate(360deg); }
}

/* Results */
.sm-results {
  padding: 8px;
}

/* Section label */
.section-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 8px 4px;
  margin: 0;
}

.result-section {
  margin-bottom: 4px;
}

/* Result item */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s;
}

.search-result-item:hover,
.search-result-item.focused {
  background: #f8fafc;
}

.search-result-item:hover .result-icon,
.search-result-item.focused .result-icon {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.search-result-item:hover .result-icon svg,
.search-result-item.focused .result-icon svg {
  color: #4f46e5;
}

/* Icon */
.result-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  transition: all 0.15s;
}

.result-icon svg {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: color 0.15s;
}

/* Content */
.result-content {
  flex: 1;
  min-width: 0;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.result-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.result-description {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.meta-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Badges */
.result-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: capitalize;
}

.result-badge.status-active, .result-badge.active,
.result-badge.status-available, .result-badge.available,
.result-badge.status-published, .result-badge.published {
  background: #dcfce7;
  color: #166534;
}

.result-badge.status-pending, .result-badge.pending,
.result-badge.status-busy, .result-badge.busy {
  background: #fef3c7;
  color: #92400e;
}

.result-badge.status-in_progress, .result-badge.in_progress,
.result-badge.status-completed, .result-badge.completed,
.result-badge.status-resolved, .result-badge.resolved {
  background: #dbeafe;
  color: #1e40af;
}

.result-badge.status-cancelled, .result-badge.cancelled,
.result-badge.status-unavailable, .result-badge.unavailable {
  background: #fee2e2;
  color: #991b1b;
}

/* No results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #94a3b8;
  text-align: center;
}

.no-results-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.35;
}

.no-results-icon svg {
  width: 48px;
  height: 48px;
}

.no-results h3 {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 4px;
}

.no-results p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* Footer */
.sm-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
  flex-shrink: 0;
}

.sm-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.sm-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  font-size: 10px;
  font-family: inherit;
  color: #64748b;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  min-width: 18px;
}

/* Empty prompt (no query typed yet) */
.sm-empty-prompt {
  padding: 40px 16px;
  text-align: center;
  font-size: 13px;
  color: #cbd5e1;
}

/* Query info */
.search-query-info {
  padding: 8px 10px 4px;
  font-size: 12px;
  color: #94a3b8;
}

.search-query-text {
  font-weight: 600;
  color: #4f46e5;
}

/* Responsive */
@media (max-width: 640px) {
  .sm-overlay {
    padding: 12px;
    align-items: flex-start;
  }

  .sm-dialog {
    border-radius: 12px;
    max-height: calc(100dvh - 24px);
  }

  .sm-footer {
    display: none;
  }
}
    /* Custom Animations */
    @keyframes fade-in {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slide-in-left {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slide-in-right {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes pulse-glow {

        0%,
        100% {
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        }

        50% {
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
        }
    }

    @keyframes gradient-shift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    .animate-fade-in {
        animation: fade-in 0.8s ease-out forwards;
    }

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

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

    .animate-float {
        animation: float 3s ease-in-out infinite;
    }

    .animate-pulse-glow {
        animation: pulse-glow 2s ease-in-out infinite;
    }

    .animate-gradient {
        background-size: 200% 200%;
        animation: gradient-shift 3s ease infinite;
    }

    .delay-200 {
        animation-delay: 0.2s;
    }

    .delay-300 {
        animation-delay: 0.3s;
    }

    .delay-400 {
        animation-delay: 0.4s;
    }

    .delay-500 {
        animation-delay: 0.5s;
    }

    .delay-600 {
        animation-delay: 0.6s;
    }

    /* Form Focus Effects */
    .form-input:focus {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    }

    /* Glassmorphism */
    .glass-effect {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Floating Orbs */
    .floating-orb {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
        filter: blur(1px);
    }

    .orb-1 {
        width: 120px;
        height: 120px;
        top: 10%;
        right: 10%;
        animation: float 6s ease-in-out infinite;
    }

    .orb-2 {
        width: 80px;
        height: 80px;
        bottom: 20%;
        right: 20%;
        animation: float 8s ease-in-out infinite reverse;
    }

    .orb-3 {
        width: 100px;
        height: 100px;
        top: 50%;
        right: 5%;
        animation: float 7s ease-in-out infinite;
    }

    /* Button Hover Effects */
    .btn-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    }

    /* Social Button Effects */
    .social-btn {
        transition: all 0.3s ease;
    }

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    /* Input Focus Ring */
    .input-focus:focus {
        ring-color: rgb(59 130 246);
        border-color: rgb(59 130 246);
    }
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes float-delayed {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(-5deg);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 10s ease-in-out infinite;
}

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

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

/* Delay Classes */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-800 {
  animation-delay: 0.8s;
}

.delay-900 {
  animation-delay: 0.9s;
}

/* Hover Effects */
.nav-item:hover {
  transform: translateX(4px);
}

/* Scrollbar Styling */
#client-sidebar-navigation::-webkit-scrollbar {
  width: 4px;
}

#client-sidebar-navigation::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

#client-sidebar-navigation::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

#client-sidebar-navigation::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *













 */

body {
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}

/* Logo animation */
@keyframes logoGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 3px rgba(59, 130, 246, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8));
  }
}

.logo-hover:hover {
  animation: logoGlow 2s ease-in-out infinite;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#map {
  padding: 0;
  height: 100vh;
  width: 100%;
  position: relative;
}

.current {
  position: relative !important;
  top: -7px !important;
}

.nice-select,
.nice-select.open .list {
  width: 100%;
  border-radius: 8px;
}

.nice-select .list::-webkit-scrollbar {
  width: 0
}

.nice-select .list {
  margin-top: 5px;
  top: 100%;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  max-height: 210px;
  overflow-y: scroll;
  padding: 52px 0 0;

}

.nice-select.has-multiple {
  white-space: inherit;
  height: auto;
  padding: 7px 12px;
  min-height: 53px;
  line-height: 22px
}

.nice-select.has-multiple span.current {
  border: 1px solid #CCC;
  background: #EEE;
  padding: 0 10px;
  border-radius: 3px;
  display: inline-block;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 3px;
  margin-right: 3px
}

.nice-select.has-multiple .multiple-options {
  display: block;
  line-height: 37px;
  margin-left: 30px;
  padding: 0
}

.nice-select .nice-select-search-box {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  margin-top: 5px;
  top: 100%;
  left: 0;
  z-index: 8;
  padding: 5px;
  background: #FFF;
  opacity: 0;
  pointer-events: none;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 0 1px rgba(68, 88, 112, .11);
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(.75) translateY(-21px);
  -ms-transform: scale(.75) translateY(-21px);
  transform: scale(.75) translateY(-21px);
  -webkit-transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
  transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out
}

.nice-select .nice-select-search {
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: none;
  color: #333;
  display: inline-block;
  vertical-align: middle;
  padding: 7px 12px;
  margin: 0 10px 0 0;
  width: 100% !important;
  min-height: 36px;
  line-height: 22px;
  height: auto;
  outline: 0 !important
}

.nice-select.open .nice-select-search-box {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0)
}

.remove:hover {
  color: red
}

.leaflet-popup-tip-container {
  margin-left: -20px !important;
}

.leaflet-popup-content-wrapper {
  padding: 4px !important;
}

.leaflet-popup-close-button {
  margin: 2px !important;
}

.leaflet-right {
  z-index: 400 !important;
}

.leaflet-control-geocoder {
  transition: min-height 0.3s ease;
  border-radius: 10px !important;
  min-height: 35px !important;
}

.leaflet-control-geocoder-expanded {
  min-height: 35px !important;

}

.leaflet-control-geocoder-icon {
  background-color: transparent;
}

.leaflet-control-geocoder-alternatives {
  background: #fff;
  border-top: 1px solid #ddd;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 5px;
  font-size: 14px;
}

.leaflet-control-geocoder-alternative {
  padding: 8px;
  cursor: pointer;
}

.leaflet-control-geocoder-form input {
  padding: 10px !important;
}

.leaflet-control-geocoder-alternative:hover {
  background-color: #f0f0f0;
}

.leaflet-top,
.leaflet-bottom {
  z-index: 400 !important;
}

.leaflet-popup-close-button {
  display: none;
}

.leaflet-popup-content-wrapper {
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0 !important;
}

.leaflet-popup-content {
  width: 350px !important;
}

.leaflet-popup-pane,
.leaflet-control {
  cursor: pointer !important;
}

.leaflet-routing-container-hide .leaflet-routing-collapse-btn {
  left: 2px !important;
  top: -1px !important;
}

.custom-drop-control {
  background-color: white;
  border-radius: 50%;
  width: 48px !important;
  height: 48px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  pointer-events: auto;
}

.custom-drop-control svg {
  width: 20px;
  height: 20px;
}

.parsley-errors-list {
  color: red;
}

.lds-dual-ring {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 32px;
  height: 32px;
  margin: 4px;
  border-radius: 50%;
  border: 4px solid var(--loader-color, #000);
  border-color: var(--loader-color, #000) transparent var(--loader-color, #000) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

.leaflet-popup-content p {
  margin: 0 !important;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  background-clip: inherit !important;
}

#miniMap .leaflet-map-pane .leaflet-popup-pane .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content {
  padding: 10px !important;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.swiper {
  width: 350px !important;
  height: 200px !important;
}

.swiper-slide img {
  display: block;
  width: 350px !important;
  height: 200px !important;
  object-fit: cover;
}

.range-container {
  width: 100%;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.range-wrapper {
  position: relative;
  width: 100%;
}

#radiusRange {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  transition: background 0.3s;
  cursor: pointer;
}

#radiusRange:hover,
#radiusRange:focus {
  background: #bbb;
}

#radiusTooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0074f0;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  user-select: none;
}

.range-wrapper:hover #radiusTooltip,
#radiusRange:focus+#radiusTooltip {
  opacity: 1;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(255, 255, 255, 0.25));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-content {
  text-align: center;
  color: white;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ffffff;
  border-top: 6px solid #000000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader-message {
  font-size: 18px;
  font-weight: bold;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#fullscreen-preview {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

#fullscreen-preview img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px white;
}

#fullscreen-preview.show {
  display: flex;
}

#close-preview {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}


.tooltip_parent {
  position: relative;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  left: -30px;
  width: max-content;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tooltip_parent:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tooltip_parent:hover .tooltip,
.tooltip_parent:hover .tooltip::before {
  background: black;
  color: #ffffff;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.rating input {
  display: none;
}

.rating label .svgOne {
  stroke: #ccc;
  fill: rgba(255, 217, 0, 0);
  transition:
    stroke 0.5s ease,
    fill 0.5s ease;
}

.rating label .svgTwo {
  position: absolute;
  top: -1px;
  fill: gold;
  stroke: rgba(255, 217, 0, 0);
  opacity: 0;
  transition:
    stroke 0.5s ease,
    fill 0.5s ease,
    opacity 0.5s ease;
}

.rating label {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  transition: all 0.5s ease;
}

/* Étoiles sélectionnées ou survolées */
.rating label:hover .svgOne,
.rating label:hover~label .svgOne {
  stroke: gold;
}

.rating input:checked~label .svgOne {
  stroke: #cccccc00;
}

.rating input:checked~label .svgTwo {
  transform: rotateX(0deg) rotateY(0deg) translateY(0px);
  opacity: 1;
  animation: displayStar 0.5s cubic-bezier(0.75, 0.41, 0.82, 1.2);
}

@keyframes displayStar {
  0% {
    transform: rotateX(100deg) rotateY(100deg) translateY(10px);
  }

  100% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0px);
  }
}

.ombre {
  background: radial-gradient(ellipse closest-side,
      rgba(0, 0, 0, 0.24),
      rgba(0, 0, 0, 0));
  width: 30px;
  height: 8px;
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

/* Étoiles sélectionnées ou survolées */
.rating label:hover .ombre,
.rating label:hover~label .ombre {
  opacity: 0.3;
}

.rating input:checked~label .ombre {
  opacity: 1;
}

.rating label:hover .svgTwo:hover {
  animation:
    chackStar 0.6s ease-out,
    displayStar none 1s;
}

@keyframes chackStar {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-20deg);
  }

  50% {
    transform: rotate(20deg);
  }

  80% {
    transform: rotate(-20deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch_slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: white;
  box-shadow: 0 0 1px #59d102;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.switch_slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  right: 0.3em;
  bottom: 0.3em;
  transform: translateX(150%);
  background-color: #FFA502;
  border-radius: inherit;
  transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.switch_slider:after {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  left: 0.3em;
  bottom: 0.3em;
  background-color: #cccccc;
  border-radius: inherit;
  transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.switch input:focus+.switch_slider {
  box-shadow: 0 0 1px #FFA502;
}

.switch input:checked+.switch_slider:before {
  transform: translateY(0);
}

.switch input:checked+.switch_slider::after {
  transform: translateX(-150%);
}



@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
  filter: blur(1px);
}

.orb-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.orb-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

.orb-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation: float 7s ease-in-out infinite;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce-pin {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.1);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-bounce-pin {
  animation: bounce-pin 2s ease-in-out infinite;
}

.animate-pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.animate-orbit {
  animation: orbit 20s linear infinite;
}

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

.animate-scale-in {
  animation: scale-in 0.5s ease-out forwards;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-800 {
  animation-delay: 0.8s;
}

.delay-1000 {
  animation-delay: 1s;
}

.delay-1100 {
  animation-delay: 1.1s;
}

.delay-1300 {
  animation-delay: 1.3s;
}

.delay-1500 {
  animation-delay: 1.5s;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-success {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.map-pin {
  position: relative;
}

.map-pin::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}
