/* 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);
    }
 @keyframes slide-down {
   from {
     opacity: 0;
     transform: translateY(-20px);
   }

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

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

   to {
     opacity: 1;
   }
 }

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

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

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

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

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

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

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

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

 /* Modern Header Styling */
 .modern-header {
   background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
   border-bottom: 1px solid rgba(226, 232, 240, 0.8);
   backdrop-filter: blur(10px);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
 }

 .sidebar-btn {
   width: 48px;
   height: 48px;
   background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s ease;
   border: none;
   box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
 }

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

 .sidebar-btn:active {
   transform: translateY(0);
 }

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

 .header-title {
   font-size: 28px;
   font-weight: 700;
   background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .search-container {
   position: relative;
   display: flex;
   align-items: center;
 }

 .search-input {
   width: 280px;
   height: 48px;
   padding: 0 48px 0 16px;
   background: white;
   border: 2px solid #e2e8f0;
   border-radius: 12px;
   font-size: 16px;
   color: #374151;
   transition: all 0.3s ease;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .search-input:focus {
   outline: none;
   border-color: #3b82f6;
   box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
   transform: translateY(-1px);
 }

 .search-input::placeholder {
   color: #9ca3af;
 }

 .search-btn {
   position: absolute;
   right: 8px;
   width: 32px;
   height: 32px;
   bottom: 9px;
   background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
   border: none;
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .search-btn:hover {
   transform: scale(1.05);
   background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
 }

 .notification-btn {
   width: 48px;
   height: 48px;
   background: white;
   border: 2px solid #e2e8f0;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s ease;
   position: relative;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .notification-btn:hover {
   border-color: #3b82f6;
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }

 .notification-badge {
   position: absolute;
   top: -4px;
   right: -4px;
   width: 20px;
   height: 20px;
   background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 12px;
   font-weight: 600;
   color: white;
   border: 2px solid white;
   animation: pulse 2s infinite;
 }

 @keyframes pulse {

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

   50% {
     transform: scale(1.1);
   }
 }

 .profile-btn {
   display: flex;
   align-items: center;
   space-x: 12px;
   padding: 8px 16px;
   background: white;
   border: 2px solid #e2e8f0;
   border-radius: 12px;
   cursor: pointer;
   transition: all 0.3s ease;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .profile-btn:hover {
   border-color: #3b82f6;
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }

 .profile-avatar {
   width: 32px;
   height: 32px;
   background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-weight: 600;
   font-size: 14px;
 }

 .dropdown-menu {
   position: absolute;
   top: 100%;
   right: 0;
   margin-top: 8px;
   background: white;
   border-radius: 12px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
   border: 1px solid #e2e8f0;
   overflow: hidden;
   min-width: 200px;
   z-index: 1000;
 }

 .dropdown-item {
   display: block;
   padding: 12px 16px;
   color: #374151;
   text-decoration: none;
   transition: all 0.3s ease;
   border-bottom: 1px solid #f1f5f9;
 }

 .dropdown-item:hover {
   background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
   color: #1f2937;
 }

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

 .dropdown-divider {
   height: 1px;
   background: #e2e8f0;
   margin: 8px 0;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
   .search-input {
     width: 200px;
   }

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

   .sidebar-btn,
   .notification-btn {
     width: 40px;
     height: 40px;
   }
 }
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 {
  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: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
}

.leaflet-control-geocoder-form input {
  background: transparent !important;
  border: none !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  color: #374151 !important;
  outline: none !important;
}

.leaflet-control-geocoder-form input::placeholder {
  color: #9ca3af !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 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;
}

.leaflet-control-geocoder-icon {
  border-radius: 4px;
  width: 26px;
  height: 26px;
  border: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B7280'%3E%3Cpath d='M10.5 3a7.5 7.5 0 015.93 12.06l4.25 4.25a1 1 0 11-1.42 1.42l-4.25-4.25A7.5 7.5 0 1110.5 3zm0 2a5.5 5.5 0 100 11 5.5 5.5 0 000-11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  cursor: pointer;
}
/* Notification Dropdown Styles */
.notification-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 400px;
  max-width: 90vw;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  z-index: 9999;
  max-height: 500px;
  overflow: hidden;
  transform-origin: top right;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

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

.notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}

.notification-dropdown-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.mark-all-read-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mark-all-read-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.notification-list {
  max-height: 350px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
}

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

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

.notification-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.notification-item {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: start;
  gap: 0.75rem;
  position: relative;
}

.notification-item:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.notification-item.unread {
  background: linear-gradient(135deg, #fef7cd 0%, #fef3c7 100%);
  border-left: 4px solid #f59e0b;
}

.notification-item.unread:hover {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.notification-title {
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
  line-height: 1.25;
}

.notification-message {
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-time {
  color: #9ca3af;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-time svg {
  width: 0.75rem;
  height: 0.75rem;
}

.notification-unread-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 2px white;
}

.notification-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 0.75rem;
  color: #6b7280;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.notification-load-more {
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.load-more-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.notification-empty {
  padding: 3rem 2rem;
  text-align: center;
}

.notification-empty p {
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 640px) {
  .notification-dropdown {
    width: calc(100vw - 2rem);
    right: -1rem;
  }

  .notification-dropdown-header {
    padding: 0.75rem;
  }

  .notification-item {
    padding: 0.75rem;
  }

  .notification-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

/* Animation for new notifications */
@keyframes notificationSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

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

.notification-item.new {
  animation: notificationSlideIn 0.3s ease-out;
}
    /* 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 Styles */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 390;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.show {
  opacity: 1;
  visibility: visible;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.search-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 5rem);
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.search-modal.show .search-modal-content {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 20px;
  color: #6b7280;
}

.modal-search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  outline: none;
  transition: all 0.2s;
}

.modal-search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.close-search-btn {
  position: absolute;
  right: 8px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.close-search-btn:hover {
  background: #f3f4f6;
}

.close-search-btn svg {
  width: 20px;
  height: 20px;
  color: #6b7280;
}

.search-modal-body {
  height: calc(100vh - 12rem);
  max-height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-tabs {
  display: flex;
  padding: 0 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  overflow-x: auto;
}

.search-tab {
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}

.search-tab:hover {
  color: #374151;
}

.search-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.search-results-container {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.search-loader {
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #6b7280;
}

.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f4f6;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.search-results {
  padding: 1.5rem;
  background: white;
}

.search-query-info {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.search-query-info p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.search-query-text {
  font-weight: 700;
  color: #1e293b;
}

.result-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  position: relative;
  overflow: hidden;
}

.search-result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: all 0.2s;
}

.search-result-item:hover {
  border-color: #3b82f6;
  box-shadow: 
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.search-result-item:hover::before {
  background: #3b82f6;
}

.result-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  margin-right: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.search-result-item:hover .result-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
  transform: scale(1.05);
}

.result-icon svg {
  width: 22px;
  height: 22px;
  color: #64748b;
  transition: color 0.2s;
}

.search-result-item:hover .result-icon svg {
  color: #3b82f6;
}

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

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 1rem;
}

.result-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.result-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.result-badge.active,
.result-badge.available,
.result-badge.published {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 1px solid #86efac;
}

.result-badge.pending,
.result-badge.busy {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fbbf24;
}

.result-badge.completed,
.result-badge.resolved {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #60a5fa;
}

.result-badge.cancelled,
.result-badge.unavailable {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border: 1px solid #f87171;
}

.result-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  gap: 6px;
  font-weight: 500;
  padding: 4px 8px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

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

.priority-high {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}

.priority-medium {
  color: #f59e0b;
  background: #fffbeb;
  border-color: #fed7aa;
}

.priority-low {
  color: #10b981;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: #64748b;
  background: white;
}

.no-results-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  opacity: 0.4;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

.no-results-icon svg {
  width: 40px;
  height: 40px;
  color: #94a3b8;
}

.no-results h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.no-results p {
  font-size: 14px;
  margin: 0;
  color: #64748b;
}

/* Search Trigger Styles */
.search-trigger {
  position: relative;
  cursor: pointer;
}

.search-trigger .search-input {
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 640px) {
  .search-modal {
    padding: 1rem;
    align-items: stretch;
  }

  .search-modal-content {
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .search-modal-body {
    height: calc(100vh - 8rem);
    max-height: none;
  }

  .search-tabs {
    padding: 0 0.5rem;
  }

  .search-tab {
    padding: 12px 12px;
    font-size: 13px;
  }

  .result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Animation for modal appearance */
.animate-scale-in {
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
    /* 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;
}
