/* === ELEGANT & SOFT COLOR PALETTE === */
:root {
  /* Elegant & Premium Color Palette */
  --elegant-cream: #f5f3ef; /* Cream Background */
  --elegant-navy: #1f2937; /* Deep Navy */
  --elegant-sand: #c6a477; /* Sand Brown */
  --elegant-olive: #748067; /* Olive Green */
  --elegant-charcoal: #2c2c2c; /* Charcoal */
  --elegant-muted: #7a7a7a; /* Muted Gray */
  --pure-white: #ffffff; /* Pure White */

  /* Enhanced Variations */
  --soft-gray: #f8f9fa;
  --warm-sand: #b08b59; /* Darker Sand */
  --muted-red: #a85a52; /* Muted Red */

  /* Neutral Colors */
  --medium-gray: #6c757d;
  --dark-text: #2c2c2c;
  --light-text: #7a7a7a;
  --border-color: #e0e0e0;

  /* Premium Gradients dengan Palet Vibrant */
  --gradient-main: linear-gradient(
    135deg,
    var(--vibrant-purple) 0%,
    var(--vibrant-blue) 50%,
    var(--vibrant-cyan) 100%
  );
  --gradient-reverse: linear-gradient(
    135deg,
    var(--vibrant-cyan) 0%,
    var(--vibrant-blue) 50%,
    var(--vibrant-purple) 100%
  );
  --gradient-soft: linear-gradient(
    135deg,
    rgba(106, 27, 154, 0.1) 0%,
    rgba(63, 81, 181, 0.1) 50%,
    rgba(0, 188, 212, 0.1) 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.8) 100%
  );

  /* Advanced Shadows */
  --shadow-premium: 0 25px 70px -15px rgba(106, 27, 154, 0.3);
  --shadow-float: 0 35px 80px -15px rgba(106, 27, 154, 0.4);
  --shadow-card: 0 15px 35px rgba(106, 27, 154, 0.1);
  --shadow-button: 0 10px 25px rgba(106, 27, 154, 0.2);

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(25px);
}

/* Body Styling with Elegant Theme */
body {
  font-family: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: var(--elegant-cream) !important;
  color: var(--elegant-charcoal) !important;
  font-weight: 400;
}

/* === ULTRA MODERN ELEMENTS === */

/* Premium Text Gradient */
.text-gradient {
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating Animation */
@keyframes smoothFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Particle Animation Background */
@keyframes particleMove {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) translateX(20px) rotate(120deg);
  }
  66% {
    transform: translateY(-10px) translateX(-20px) rotate(240deg);
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(360deg);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(106, 27, 154, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(106, 27, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(106, 27, 154, 0);
  }
}

/* Premium Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* === ULTRA PREMIUM BUTTONS === */
.btn-gradient {
  background: var(--gradient-main) !important;
  color: var(--pure-white);
  border: none;
  border-radius: 50px;
  padding: 15px 35px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-button);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
}

.btn-gradient::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s;
}

.btn-gradient:hover::before {
  left: 150%;
}

.btn-gradient:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-premium);
  color: var(--pure-white);
  animation: pulse 1.5s infinite;
}

.btn-gradient:active {
  transform: translateY(-1px) scale(1.02);
}

/* Ultra Premium Outline Buttons */
.btn-premium {
  border: 2px solid;
  border-image: var(--gradient-main) 1;
  background: transparent;
  color: var(--deep-purple);
  border-radius: 50px;
  padding: 15px 35px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  transition: left 0.4s;
  z-index: -1;
}

.btn-premium:hover::before {
  left: 0;
}

.btn-premium:hover {
  color: var(--pure-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-premium);
}

.btn-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

/* === SUPER ADVANCED HERO SECTION === */
.hero {
  background: linear-gradient(
    -45deg,
    #6a1b9a,
    #1976d2,
    #00bcd4,
    #9c27b0,
    #3f51b5
  );
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Smooth gradient animation */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Lightweight floating orbs - Reduced complexity */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    );
  background-size: 150px 150px, 200px 200px;
  opacity: 0.6;
  pointer-events: none;
  /* Remove heavy animation */
}

/* Simple pulse for reduced CPU usage */
@keyframes lightPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
}

.hero::after {
  animation: lightPulse 8s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx=".5" cy=".5" r=".5"><stop offset="0%" stop-color="%23ffffff" stop-opacity=".1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="100" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>')
    no-repeat center center;
  background-size: cover;
  opacity: 0.6;
}

.bg-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

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

.bg-blur.bg-primary {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--deep-purple), var(--electric-blue));
  animation-delay: 0s;
}

.bg-blur.bg-secondary {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--electric-blue), var(--turquoise));
  animation-delay: 2s;
}

.bg-blur.bg-accent {
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--turquoise), transparent);
  animation-delay: 4s;
  transform: translate(-50%, -50%);
}

/* === KARTU BOOKING LANDING PAGE === */
.booking-card {
  width: 320px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.booking-card:hover {
  transform: translateY(-5px);
}

/* === ADMIN DASHBOARD STYLE === */
.stat-card {
  border-radius: 18px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.08);
}

.stat-card .icon-lg {
  font-size: 1.8rem;
  opacity: 0.65;
  margin-right: 0.5rem;
}

.table thead th {
  border-bottom: 2px solid #e9ecef;
}

/* === BADGE STATUS PENYEWAAN === */
.badge-status {
  padding: 0.45em 0.75em;
  font-size: 0.75rem;
  border-radius: 50rem;
}

.badge.booked {
  background: #ffcb2c1a;
  color: #c29400;
}

.badge.ongoing {
  background: #1987541a;
  color: #198754;
}

.badge.finished {
  background: #0d6efd1a;
  color: #0d6efd;
}

.badge.cancelled {
  background: #dc35451a;
  color: #dc3545;
}

/* === BADGE STATUS KENDARAAN === */
.badge.Tersedia {
  background: #0d6efd1a;
  color: #0d6efd;
}

.badge.Disewa {
  background: #ffc1071a;
  color: #c08d00;
}

.badge.Servis {
  background: #dc35451a;
  color: #dc3545;
}

/* === FORM FOCUS STYLING === */
input:focus,
select:focus,
textarea:focus {
  border-color: #a31ff3;
  box-shadow: 0 0 0 0.2rem rgba(163, 31, 243, 0.2);
  outline: none;
}

/* === PLACEHOLDER STYLING === */
::placeholder {
  color: #999;
  font-style: italic;
}

/* === RESPONSIVE STAT CARD === */
@media (max-width: 768px) {
  .stat-card {
    margin-bottom: 1rem;
  }
}

/* === MODERN CARDS === */
.card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(107, 70, 193, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border: none;
  border-radius: 20px 20px 0 0 !important;
  font-weight: 600;
}

/* === MODERN BUTTONS === */
.btn {
  border-radius: 15px;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.btn-outline-primary {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.btn-outline-primary:hover {
  background: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(107, 70, 193, 0.2);
}

.btn-outline-success {
  border-color: var(--secondary-blue);
  color: var(--secondary-blue);
}

.btn-outline-success:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.btn-outline-secondary {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline-secondary:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

/* === MODERN INPUTS === */
.form-control,
.form-select {
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(248, 250, 252, 0.8);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.1);
  background: #fff;
  transform: scale(1.02);
}

/* === MODERN STATISTICS === */
.hero .statistics {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
}

.hero .statistics .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero .statistics .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 14px;
}

/* === MODERN BOOKING CARD === */
.booking-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(107, 70, 193, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(107, 70, 193, 0.25);
}

.booking-card img {
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.booking-card:hover img {
  transform: scale(1.05);
}

/* === ULTRA MODERN VEHICLE CARDS === */
.vehicle-card {
  border: none;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--gradient-card);
  backdrop-filter: var(--glass-backdrop);
  position: relative;
  animation: smoothFloat 6s ease-in-out infinite;
}

.vehicle-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-main);
  border-radius: 32px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.vehicle-card:hover::before {
  opacity: 1;
}

.vehicle-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-float);
  animation-play-state: paused;
}

.vehicle-card .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
  height: 220px;
}

.vehicle-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vehicle-card:hover .card-img-top {
  transform: scale(1.1) rotate(2deg);
}

.vehicle-card .popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-main);
  color: var(--pure-white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.3);
  animation: pulse 2s infinite;
}

.vehicle-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.vehicle-card:hover .overlay {
  opacity: 1;
}

/* Card Body Premium Styling */
.vehicle-card .card-body {
  padding: 25px;
  position: relative;
}

.vehicle-card .card-title {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.vehicle-card .vehicle-type {
  color: var(--light-text);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

/* Price Section */
.vehicle-card .price-section {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
}

.vehicle-card .price-tag {
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  margin-right: 5px;
}

.vehicle-card .price-period {
  color: var(--light-text);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Vehicle Features Grid */
.vehicle-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.vehicle-feature {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--gradient-soft);
  border-radius: 15px;
  border: 1px solid rgba(106, 27, 154, 0.1);
  transition: all 0.3s;
}

.vehicle-feature:hover {
  background: rgba(106, 27, 154, 0.1);
  transform: translateY(-2px);
}

.vehicle-feature .feature-icon {
  font-size: 1.1rem;
  margin-right: 8px;
  filter: grayscale(0.3);
}

.vehicle-feature .feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
}

/* Premium Action Button */
.vehicle-card .btn-action {
  background: var(--gradient-main) !important;
  color: var(--pure-white);
  border: none;
  border-radius: 25px;
  padding: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(106, 27, 154, 0.3);
}

.vehicle-card .btn-action::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s;
}

.vehicle-card .btn-action:hover::before {
  width: 300px;
  height: 300px;
}

.vehicle-card .btn-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
  color: var(--pure-white);
}

/* Staggered Animation for Cards */
.vehicle-card:nth-child(1) {
  animation-delay: 0s;
}
.vehicle-card:nth-child(2) {
  animation-delay: 0.2s;
}
.vehicle-card:nth-child(3) {
  animation-delay: 0.4s;
}
.vehicle-card:nth-child(4) {
  animation-delay: 0.6s;
}
.vehicle-card:nth-child(5) {
  animation-delay: 0.8s;
}
.vehicle-card:nth-child(6) {
  animation-delay: 1s;
}

/* === FILTER BUTTONS === */
.filter-buttons {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 10px;
  margin: 20px 0;
  box-shadow: 0 8px 25px rgba(107, 70, 193, 0.1);
}

.filter-buttons .btn {
  border-radius: 20px;
  margin: 0 5px;
  font-weight: 600;
  padding: 10px 20px;
}

.filter-buttons .btn.active {
  background: var(--gradient-primary) !important;
  color: #fff;
  box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

/* === NAVBAR MODERN === */
.navbar-brand {
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.navbar {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 20px rgba(107, 70, 193, 0.1);
  z-index: 2500 !important;
  position: relative;
}

/* Fix dropdown menu z-index */
.dropdown-menu {
  z-index: 3000 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
  border-radius: 15px !important;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
  font-weight: 500;
  color: #374151 !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-purple) !important;
}

.nav-link.active {
  font-weight: 700;
  color: var(--primary-purple) !important;
}

/* === CUTE ANIMATIONS === */
@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -7px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

.bounce-hover:hover {
  animation: bounce 1s;
}

/* === GLASSMORPHISM EFFECTS === */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* === PREMIUM PARALLAX EFFECTS === */
.parallax-container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.parallax-element {
  transform: translateZ(-1px) scale(2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* === SCROLL REVEAL ANIMATION === */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  animation: slideInUp 0.8s ease-out forwards;
}

.reveal-left {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
}

.reveal-right {
  opacity: 0;
  animation: slideInRight 0.8s ease-out forwards;
}

/* === PREMIUM LOADING ANIMATION === */
@keyframes spinPulse {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

.loading-spin {
  animation: spinPulse 2s linear infinite;
}

/* === PREMIUM HOVER EFFECTS === */
.premium-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.premium-hover:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: var(--shadow-float);
}

/* === 3D TILT EFFECT === */
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.1s;
}

.tilt-3d:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg)
    scale3d(1.05, 1.05, 1.05);
}

/* === PREMIUM GRADIENT BORDERS === */
.gradient-border {
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.gradient-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-main);
  border-radius: inherit;
  z-index: -1;
}

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .bg-blur {
    width: 150px !important;
    height: 150px !important;
    filter: blur(60px);
  }

  .hero .statistics {
    margin-top: 20px;
    padding: 15px;
  }

  .hero .statistics .stat-number {
    font-size: 1.8rem;
  }

  .booking-card {
    width: 100%;
    max-width: 280px;
  }

  .vehicle-card .card-title {
    font-size: 1.2rem;
  }

  .vehicle-card .price-tag {
    font-size: 1.4rem;
  }

  .vehicle-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-gradient,
  .btn-action {
    font-size: 0.85rem;
    padding: 12px 25px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem !important;
  }

  .filter-buttons .btn {
    font-size: 0.8rem;
    padding: 8px 15px;
    margin: 2px;
  }

  .vehicle-card .image-container {
    height: 180px;
  }
}

/* ===============================================
   ULTRA MODERN ADMIN PANEL SYSTEM
   =============================================== */

/* Admin Layout Container */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Premium Sidebar */
.admin-sidebar {
  width: 280px;
  background: linear-gradient(
    180deg,
    var(--deep-purple) 0%,
    var(--electric-blue) 100%
  );
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 40px rgba(106, 27, 154, 0.2);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar.collapsed {
  width: 80px;
}

/* Sidebar Header */
.admin-sidebar .sidebar-header {
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.sidebar-header .logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-header .logo i {
  font-size: 2rem;
  background: linear-gradient(135deg, #fff, var(--turquoise));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.sidebar-header .logo-text {
  transition: opacity 0.3s;
}

.admin-sidebar.collapsed .logo-text {
  opacity: 0;
}

/* Hamburger Toggle Button */
.hamburger-toggle {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--gradient-main);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.4);
}

/* Navigation Menu */
.admin-nav {
  padding: 20px 0;
  flex: 1;
  overflow-y: auto;
}

.admin-nav::-webkit-scrollbar {
  width: 4px;
}

.admin-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

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

.nav-group {
  margin-bottom: 30px;
}

.nav-group-title {
  padding: 0 20px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  transition: opacity 0.3s;
}

.admin-sidebar.collapsed .nav-group-title {
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.nav-item {
  margin: 5px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 0 25px 25px 0;
  margin-right: 20px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link i {
  font-size: 1.2rem;
  min-width: 24px;
  margin-right: 15px;
  transition: all 0.3s;
}

.nav-link span {
  font-weight: 500;
  transition: opacity 0.3s;
}

.admin-sidebar.collapsed .nav-link span {
  opacity: 0;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-link.active i {
  color: var(--turquoise);
  transform: scale(1.1);
}

/* Admin Content Area */
.admin-content {
  margin-left: 280px;
  flex: 1;
  padding: 30px;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 100vh;
}

.admin-sidebar.collapsed + .admin-content {
  margin-left: 80px;
}

/* Premium Stats Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-card);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-main);
  border-radius: 27px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover::before {
  opacity: 0;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
  background: rgba(128, 128, 128, 0.15) !important;
}

.stat-card .stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.stat-card .stat-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-main);
  opacity: 0.1;
  border-radius: inherit;
}

.stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 5px;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat-card .stat-label {
  color: var(--light-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Action Cards */
.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.action-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.action-card i {
  font-size: 3rem !important;
  background: var(--gradient-main) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  margin-bottom: 20px !important;
  display: block !important;
}

.action-card h5 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 10px;
}

.action-card p {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Content Cards */
.content-card {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
}

.content-card .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card .card-title i {
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Responsive Admin Panel */
@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.show {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

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

@media (max-width: 768px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .action-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .admin-content {
    padding: 20px;
  }
}

/* Mobile Top Bar */
.mobile-topbar {
  display: none;
  background: var(--gradient-main);
  color: white;
  padding: 15px 20px;
  align-items: center;
  justify-content: between;
  box-shadow: var(--shadow-card);
}

@media (max-width: 1024px) {
  .mobile-topbar {
    display: flex;
  }
}

.mobile-topbar .mobile-menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-topbar .mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-topbar .mobile-logo {
  font-size: 1.3rem;
  font-weight: 800;
  margin-left: 15px;
}

/* ===============================================
   ULTRA MODERN NOTIFICATION SYSTEM
   =============================================== */

.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
}

.notification {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 0;
  margin-bottom: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  position: relative;
}

.notification::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-main);
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hiding {
  transform: translateX(400px);
  opacity: 0;
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 15px;
}

.notification-content i {
  font-size: 1.2rem;
  color: var(--primary-purple);
}

.notification-message {
  flex: 1;
  color: var(--dark-text);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--dark-text);
}

/* Notification Types */
.notification-success::before {
  background: linear-gradient(135deg, #10b981, #059669);
}

.notification-success .notification-content i {
  color: #10b981;
}

.notification-error::before {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-error .notification-content i {
  color: #ef4444;
}

.notification-warning::before {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notification-warning .notification-content i {
  color: #f59e0b;
}

.notification-info::before {
  background: var(--gradient-main);
}

/* ===============================================
   ULTRA MODERN LOADING SYSTEM
   =============================================== */

.loading-state {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.loading-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--light-text);
  font-weight: 500;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(106, 27, 154, 0.1);
  border-top: 2px solid var(--primary-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Advanced Loading Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: inherit;
}

.loading-overlay .loading-spinner {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* ===============================================
   ULTRA MODERN FORM ENHANCEMENTS
   =============================================== */

/* Floating Labels */
.form-floating {
  position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  line-height: 1.25;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: all 0.3s ease-in-out;
  color: var(--light-text);
  font-weight: 500;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: var(--primary-purple);
}

/* Enhanced Input Styling */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-purple) !important;
  box-shadow: 0 0 0 4px rgba(106, 27, 154, 0.1) !important;
  background: #fff;
  transform: scale(1.01);
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Custom Checkbox and Radio */
.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.25em;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.3s;
}

.form-check-input:checked {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3e%3cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3e%3c/svg%3e");
}

.form-check-input:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(106, 27, 154, 0.1);
}

/* ===============================================
   ULTRA MODERN MODAL SYSTEM
   =============================================== */

.modal {
  backdrop-filter: blur(10px);
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  border: none;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, rgba(106, 27, 154, 0.05), rgba(59, 130, 246, 0.05));
  padding: 25px 30px 20px;
}

.modal-title {
  font-weight: 700;
  color: var(--dark-text);
  font-size: 1.25rem;
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 30px 30px;
  background: rgba(248, 250, 252, 0.5);
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--light-text);
  opacity: 0.7;
  transition: all 0.3s;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

/* ===============================================
   ULTRA MODERN TABLE SYSTEM
   =============================================== */

.table-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-modern thead {
  background: linear-gradient(135deg, rgba(106, 27, 154, 0.1), rgba(59, 130, 246, 0.1));
}

.table-modern thead th {
  border: none;
  padding: 20px 25px;
  font-weight: 700;
  color: var(--dark-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-modern tbody tr {
  border: none;
  transition: all 0.3s;
}

.table-modern tbody tr:hover {
  background: rgba(106, 27, 154, 0.05);
  transform: scale(1.01);
}

.table-modern tbody td {
  border: none;
  padding: 20px 25px;
  vertical-align: middle;
  color: var(--dark-text);
  font-weight: 500;
}

.table-modern tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===============================================
   ULTRA MODERN BADGE SYSTEM
   =============================================== */

.badge-modern {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.badge-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.badge-modern:hover::before {
  left: 100%;
}

.badge-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.badge-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.badge-info {
  background: var(--gradient-main);
  color: white;
}

.badge-secondary {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
}

/* ===============================================
   ULTRA MODERN SCROLL ANIMATIONS
   =============================================== */

.animate-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.animate-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.animate-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.animate-bounce {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(106, 27, 154, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(106, 27, 154, 0);
  }
}

/* ===============================================
   ULTRA MODERN PROGRESS SYSTEM
   =============================================== */

.progress-modern {
  height: 12px;
  border-radius: 20px;
  background: rgba(106, 27, 154, 0.1);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-modern {
  background: var(--gradient-main);
  border-radius: 20px;
  transition: width 1s ease-in-out;
  position: relative;
  overflow: hidden;
}

.progress-bar-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ===============================================
   THEME SYSTEM
   =============================================== */

.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
}

.dark-theme {
  --bg-primary: #1f2937;
  --bg-secondary: #111827;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --border-color: #374151;
  
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

.dark-theme .card {
  background: rgba(31, 41, 55, 0.95) !important;
  color: var(--text-primary) !important;
}

.dark-theme .modal-content {
  background: rgba(31, 41, 55, 0.95) !important;
  color: var(--text-primary) !important;
}

.dark-theme .table-modern {
  background: rgba(31, 41, 55, 0.95) !important;
  color: var(--text-primary) !important;
}

.dark-theme .notification {
  background: rgba(31, 41, 55, 0.95) !important;
  color: var(--text-primary) !important;
}

/* ===============================================
   RESPONSIVE ENHANCEMENTS
   =============================================== */

@media (max-width: 768px) {
  .notification-container {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  
  .notification {
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
  
  .notification.hiding {
    transform: translateY(-100px);
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-header,
  .modal-footer {
    padding: 20px;
  }
  
  .table-modern thead th,
  .table-modern tbody td {
    padding: 15px 12px;
    font-size: 0.85rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
