:root {
  font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: dark;
  color: #ffffff;
  background-color: #181a24;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  display: flex;
  place-content: center;
  min-width: 320px;
  min-height: 100vh;
  background: #181a24 fixed;
  background-color: #181a24;
  color: #ffffff;
}

#root {
  width: 100%;
}

* {
  box-sizing: border-box;
}

/* Glassmorphism utility updated to match premium slate-blue dark theme */
.glass {
  background: #272b38;
  border: 1px solid #323746;
  border-radius: 12px;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #3b82f6;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s;
  color: white;
}

button:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

input,
select,
textarea {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #323746;
  background: #1f222e;
  color: white;
  width: 100%;
  margin-bottom: 15px;
}

select option {
  background: #272b38;
  color: white;
}

input:focus {
  outline: 2px solid #3b82f6;
  outline-offset: -1px;
}

/* Remove number input spinner arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

.card {
  padding: 2rem;
  background: #272b38;
  border: 1px solid #323746;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Dashboard Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background: #1a1c25;
  border-right: 1px solid #323746;
}

.main-content {
  flex: 1;
  padding: 2rem;
  background: #1f222e;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.car-card {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.45) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(168, 85, 247, 0.15);
}

.car-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.car-info {
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #323746;
}

th {
  color: #94a3b8;
  font-weight: 600;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-available {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.status-booked {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
}

.status-confirmed {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.status-pending {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.status-reserved {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}

.status-maintenance {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.status-completed {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Force ALL text to be bold as requested by user */
* {
  font-weight: bold !important;
}
