@tailwind base;
@tailwind components;
@tailwind utilities;

/* IMPACT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Orbitron:wght@400;700&family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --gta-orange: #FF6B00;
  --gta-orange-glow: rgba(255, 107, 0, 0.6);
  --neon-blue: #00F3FF;
  --neon-blue-glow: rgba(0, 243, 255, 0.6);
  --neon-purple: #BC13FE;
  --bg-dark: #050505;
  --glass-bg: rgba(20, 20, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: white;
  overflow-x: hidden;
  background: linear-gradient(135deg, #000000 0%, #050505 50%, #080808 100%);
  position: relative;
  background-attachment: fixed;
  background-size: cover;
}

/* Enhanced Background with Gradient & Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.7), rgba(20, 10, 0, 0.8)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23ff6b00" x="0" y="0" width="2" height="100" opacity="0.03"/><rect fill="%23ff6b00" x="0" y="0" width="100" height="2" opacity="0.03"/></svg>');
  background-attachment: fixed;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 243, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* === ANIMATIONS === */
@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 10px var(--gta-orange-glow);
  }

  50% {
    box-shadow: 0 0 25px var(--gta-orange-glow), 0 0 5px var(--gta-orange);
  }
}

@keyframes borderRotate {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }

  50% {
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.8), 0 0 30px rgba(255, 107, 0, 0.6);
  }
}

.fade-in {
  animation: slideIn 0.6s ease-out forwards;
}

.animate-delay-100 {
  animation-delay: 100ms;
}

.animate-delay-200 {
  animation-delay: 200ms;
}

.animate-delay-300 {
  animation-delay: 300ms;
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

.glow-text {
  animation: glow 2s ease-in-out infinite;
}

/* === PREMIUM COMPONENTS === */
.bg-gta-image {
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.scanlines {
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.3;
}

/* Glass Card Premium */
.glass-panel {
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.glass-panel:hover::before {
  left: 100%;
}

/* Buttons */
.btn-neon {
  background: linear-gradient(90deg, #FF6B00, #FF3D00);
  color: white;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.3s;
  border: none;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

.btn-neon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  transition: 0.3s;
}

.btn-neon:hover {
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
  transform: scale(1.05);
}

.btn-neon:hover::after {
  width: 100%;
}

/* Typography */
.font-gta {
  font-family: 'Anton', sans-serif;
}

.font-tech {
  font-family: 'Orbitron', sans-serif;
}

/* Status Indicators */
.status-dot {
  height: 10px;
  width: 10px;
  background-color: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gta-orange);
}

/* Logo Shake on Hover */
.logo-hover:hover {
  animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* === ENHANCED BUSINESS & ATM CARDS === */
.glass-panel {
  transition: all 0.3s ease;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(20, 20, 30, 0.85) !important;
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

/* Business Cards */
.business-card {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(15, 15, 20, 0.9) 100%);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card:hover {
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 15px 40px rgba(255, 107, 0, 0.15);
  transform: translateY(-5px);
}

/* ATM Cards */
.atm-card {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(15, 15, 20, 0.9) 100%);
  border: 1px solid rgba(0, 243, 255, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.atm-card:hover {
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow: 0 15px 40px rgba(0, 243, 255, 0.15);
  transform: translateY(-5px);
}

/* Stat Cards */
.stat-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(15, 15, 20, 0.9) 100%);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

/* Text Shadow Effects */
.text-shadow-lg {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.text-shadow-glow {
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.3);
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(90deg, #FF6B00, #FF3D00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LOGIN STYLING === */
.glass-card {
  background: rgba(15, 15, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
}

.btn-premium {
  background: linear-gradient(135deg, #FF6B00 0%, #FF3D00 100%);
  color: white;
  font-family: 'Anton', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 107, 0, 0.6);
}

.btn-premium:hover::before {
  left: 100%;
}

/* === GENERAL IMPROVEMENTS === */
input:focus {
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.3) inset;
}

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {
  .font-gta {
    font-size: 1.875rem;
  }

  .glass-panel {
    padding: 1rem;
  }

  .container {
    padding: 1rem;
  }

  input,
  select,
  button {
    font-size: 16px;
    /* Prevents iOS zoom on focus */
  }
}

/* === ADDITIONAL ENHANCEMENTS === */
.logo-hover {
  transition: all 0.3s ease;
}

.logo-hover:hover {
  transform: scale(1.05) rotate(-5deg);
  filter: brightness(1.2);
}

/* Smooth transitions for all interactive elements */
a,
button {
  transition: all 0.2s ease;
}

/* Better accessibility for focus states */
button:focus,
a:focus,
input:focus {
  outline: 2px solid #FF6B00;
  outline-offset: 2px;
}

/* Card hover effects */
.glass-panel {
  transition: all 0.3s ease;
}

.glass-panel:hover {
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.3);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: #FF6B00;
  color: white;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 107, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: #FF6B00;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff8f40;
}

/* === MODAL STYLES === */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: rgba(20, 20, 30, 0.95);
  border: 2px solid #FF6B00;
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 107, 0, 0.3);
  padding-bottom: 1rem;
}

.modal-header h2 {
  font-family: 'Anton', sans-serif;
  color: #FF6B00;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: #FF6B00;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  color: #ff8f40;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body input,
.modal-body textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #FF6B00;
  border-radius: 8px;
  padding: 0.75rem;
  color: white;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s ease;
}

.modal-body input:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: #ff8f40;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.modal-body label {
  display: block;
  margin-bottom: 0.5rem;
  color: #FF6B00;
  font-weight: bold;
  font-size: 0.9rem;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-footer button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-confirm {
  background: linear-gradient(135deg, #FF6B00 0%, #FF3D00 100%);
  color: white;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 30px rgba(255, 107, 0, 0.6);
}

.btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #FF6B00;
  border: 2px solid #FF6B00;
}

.btn-cancel:hover {
  background: rgba(255, 107, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ENHANCED CARD STYLES ===== */
.glass-panel {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 2px solid rgba(255, 107, 0, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-panel:hover {
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.2), inset 0 0 30px rgba(255, 107, 0, 0.05);
  transform: translateY(-2px);
}

.glass-panel:hover::before {
  opacity: 1;
}

/* ===== VEHICLE CARD ENHANCED ===== */
.vehicle-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gta-orange);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.15);
}

.vehicle-card .fuel-gauge {
  height: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.vehicle-card .fuel-level {
  height: 100%;
  background: linear-gradient(90deg, #EF4444 0%, #F59E0B 50%, #22C55E 100%);
  transition: width 0.5s ease;
}

/* ===== PROPERTY CARD ENHANCED ===== */
.property-card {
  background: linear-gradient(145deg, rgba(25, 25, 35, 0.95), rgba(15, 15, 20, 0.98));
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gta-orange), #FFD700, var(--gta-orange));
}

.property-card:hover {
  border-color: var(--gta-orange);
  box-shadow: 0 5px 25px rgba(255, 107, 0, 0.2);
  transform: translateY(-3px);
}

/* ===== STAT BAR ENHANCEMENTS ===== */
.stat-bar-fill {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.stat-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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%);
  }
}

/* ===== SIDEBAR NAVIGATION STYLES ===== */
.sidebar-nav {
  position: sticky;
  top: 6rem;
  space-y: 0.5rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  color: #D1D5DB;
}

.sidebar-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gta-orange);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-nav a:hover::before {
  transform: scaleY(1);
}

.sidebar-nav a.active {
  background: var(--gta-orange);
  color: white;
}

.sidebar-nav a.active::before {
  transform: scaleY(1);
}

/* ===== SECTION TITLE ENHANCEMENTS ===== */
.section-title {
  font-family: 'Anton', 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gta-orange);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 107, 0, 0.4);
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gta-orange), transparent);
}

/* ===== MOBILE MENU BUTTONS ===== */
.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mobile-menu-button:not(.active) {
  background: rgba(0, 0, 0, 0.5);
  color: #9CA3AF;
}

.mobile-menu-button:not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-button.active {
  background: var(--gta-orange);
  color: white;
}

/* ===== STAT CARDS ENHANCEMENTS ===== */
.stat-card {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
  border-left: 4px solid;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ===== TABLE ENHANCEMENTS ===== */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead tr {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tbody tr:hover {
  background: rgba(255, 107, 0, 0.05);
}

th,
td {
  padding: 1rem;
  text-align: left;
}

th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #9CA3AF;
}

/* ===== FORM INPUTS ENHANCEMENTS ===== */
input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(107, 114, 128, 0.5);
  border-radius: 0.5rem;
  color: white;
  transition: all 0.3s ease;
  font-size: 1rem;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  color: rgba(156, 163, 175, 0.6);
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gta-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2), inset 0 0 10px rgba(255, 107, 0, 0.1);
  background: rgba(0, 0, 0, 0.7);
}

/* ===== LOADER ANIMATION ===== */
.gta-loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 107, 0, 0.2);
  border-top-color: var(--gta-orange);
  border-radius: 50%;
  animation: gta-spin 1s linear infinite;
}

@keyframes gta-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== SKIN DISPLAY IMPROVEMENTS ===== */
.skin-display {
  width: 100%;
  height: auto;
  max-width: 180px;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 3px solid var(--gta-orange);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.3), inset 0 0 20px rgba(255, 107, 0, 0.1);
}

.skin-display img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* ===== VEHICLE IMAGE DISPLAY ===== */
.vehicle-image {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 107, 0, 0.3);
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.1);
}

/* ===== VEHICLE MODEL NUMBER BADGE ===== */
.vehicle-model-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gta-orange), #FF8F40);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.875rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== LATAM RESPECT BACKGROUND ===== */
.bg-latam {
  background-image: url('../img/bg-latam.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg-latam::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.85), rgba(15, 15, 15, 0.75));
  z-index: 1;
}

@media (max-width: 768px) {
  .bg-latam {
    background-attachment: scroll;
    background-size: cover;
  }
}

/* ===== ADMIN PANEL ENHANCEMENTS ===== */

/* Dropdown improvements */
.relative.group .absolute {
  min-width: 200px;
  right: 0;
  z-index: 100;
}

.relative.group:hover>.absolute,
.relative.group:focus-within>.absolute {
  display: block !important;
}

/* Mobile action buttons */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: 95%;
    padding: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body {
    margin-bottom: 1rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-footer button {
    width: 100%;
  }

  /* Grid buttons mobile */
  .grid.grid-cols-4 {
    gap: 0.5rem;
  }

  .grid.grid-cols-4 button {
    padding: 0.5rem 0.25rem;
    font-size: 0.65rem;
  }

  .grid.grid-cols-4 button i {
    font-size: 0.9rem;
  }
}

/* Touch-friendly buttons */
button,
.btn-confirm,
.btn-cancel {
  min-height: 44px;
  touch-action: manipulation;
}

/* Mobile menu improvements */
#mobileMenuModal .modal-body button {
  min-height: 48px;
}

/* Fix z-index issues */
.modal {
  z-index: 9999;
}

/* Better select styling */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FF6B00' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5rem;
  padding-right: 2.5rem;
}

/* Disabled input styling */
input:disabled,
select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(50, 50, 50, 0.5) !important;
}