
:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --accent: #00d4ff;
  --accent-hover: #00a8cc;
  --success: #00ff88;
  --warning: #ffaa00;
  --danger: #ff4444;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}


[data-theme="light"] {
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}



.navbar-custom {
  background-color: var(--bg-secondary) !important;
  padding: 1rem 0;
  transition: background-color var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent) !important;
  letter-spacing: 2px;
}

.navbar-brand:hover {
  color: var(--accent-hover) !important;
}

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition), transform var(--transition);
}

.nav-link:hover {
  color: var(--accent) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--accent) !important;
}

.navbar-toggler {
  border-color: var(--accent);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.theme-toggle {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--bg-primary);
}


.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition);
}

.profile-icon:hover {
  transform: scale(1.1);
}



.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('https://images.unsplash.com/photo-1573348722427-f1d6819fdf98?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
}

.hero-search .form-control {
  background: rgba(26, 26, 26, 0.9);
  border: 2px solid var(--accent);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 50px 0 0 50px;
}

.hero-search .form-control:focus {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  border-color: var(--accent);
}

.hero-search .form-control::placeholder {
  color: var(--text-secondary);
}



.btn-accent {
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-3px);
}



.card-custom {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all var(--transition);
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  border-color: var(--accent);
}

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom .card-title {
  color: var(--text-primary);
  font-weight: 600;
}

.card-custom .card-text {
  color: var(--text-secondary);
}


.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--bg-primary);
}


.parking-card {
  position: relative;
}

.parking-card img {
  height: 200px;
  object-fit: cover;
}

.parking-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-available {
  background: var(--success);
  color: var(--bg-primary);
}

.badge-peak {
  background: var(--warning);
  color: var(--bg-primary);
}

.badge-booked {
  background: var(--danger);
  color: var(--text-primary);
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.price-tag small {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}



.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.section-dark {
  background: var(--bg-secondary);
}



.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}



.testimonial-card {
  padding: 2rem;
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: var(--warning);
}



.form-control-custom {
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all var(--transition);
}

.form-control-custom:focus {
  background: var(--bg-secondary);
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.form-control-custom::placeholder {
  color: var(--text-secondary);
}

.form-label-custom {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-select-custom {
  background-color: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.form-select-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}



.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
}


.dashboard-sidebar {
  background: var(--bg-secondary);
  min-height: calc(100vh - 76px);
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--text-primary);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: all var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
}

.sidebar-link i {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.stat-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}



.table-custom {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
}

.table-custom thead {
  background: rgba(0, 212, 255, 0.1);
}

.table-custom th {
  color: var(--accent);
  font-weight: 600;
  padding: 1rem;
  border: none;
}

.table-custom td {
  color: var(--text-primary);
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.table-custom tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}



.qr-container {
  background: #ffffff;
  padding: 1rem;
  border-radius: 10px;
  display: inline-block;
}

.qr-code {
  width: 150px;
  height: 150px;
}



.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: var(--text-secondary);
  display: block;
  padding: 0.3rem 0;
  transition: all var(--transition);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 10px;
}

.footer-contact {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--accent);
  margin-right: 1rem;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-secondary);
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 0.5rem;
  transition: all var(--transition);
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--bg-primary);
}



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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

.fade-in-up {
  animation: fadeInUp 0.5s ease;
}



.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1100;
}

.toast-custom {
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  border-radius: 10px;
}


.chat-container {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: rgba(0, 212, 255, 0.1);
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.chat-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  max-width: 80%;
}

.chat-message.sent {
  background: var(--accent);
  color: var(--bg-primary);
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.chat-message.received {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 5px;
}

.chat-input {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.5rem;
}



.filter-section {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}



.map-container {
  background: var(--bg-secondary);
  border-radius: 15px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}



.profile-avatar-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  object-fit: cover;
}

.profile-upload {
  position: relative;
  display: inline-block;
}

.profile-upload input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.profile-upload-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: var(--bg-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}



.lang-toggle {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
}



@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .dashboard-sidebar {
    min-height: auto;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .auth-card {
    padding: 2rem;
  }
  
  .hero-search .form-control {
    border-radius: 50px;
    margin-bottom: 1rem;
  }
  
  .hero-search .btn {
    width: 100%;
    border-radius: 50px;
  }
}



.text-accent {
  color: var(--accent) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.border-accent {
  border-color: var(--accent) !important;
}

.cursor-pointer {
  cursor: pointer;
}
