/* TailwindCSS-like styles for the new garage page */

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-screen-sm { max-width: 640px; }
.pb-24 { padding-bottom: 6rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.pt-4 { padding-top: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; overflow: hidden; border-radius: 9999px; }
.avatar-image { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background-color: var(--muted); color: var(--text); }
.min-w-0 { min-width: 0; }
.flex-1 { flex: 1 1 0%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-extrabold { font-weight: 800; }
.tracking-tight { letter-spacing: -0.025em; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-muted-foreground { color: var(--muted); }
.gap-1 { gap: 0.25rem; }
.btn-icon { padding: 0.5rem; width: 2.5rem; height: 2.5rem; }

/* Settings gear button - make larger and more prominent */
.btn-icon svg {
  width: 20px;
  height: 20px;
}
.btn-outline { background-color: transparent; border-color: var(--line); }
.mt-3 { margin-top: 0.75rem; }
.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.text-center { text-align: center; }
.card { background-color: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
.card-content { padding: 1rem; }
.p-2 { padding: 0.5rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.justify-center { justify-content: center; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.flex-wrap { flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; background-color: var(--teal); color: var(--bg); }
.badge-secondary { background-color: var(--panel); color: var(--text); border: 1px solid var(--line); }
.w-full { width: 100%; }
.tabs-list { display: grid; background-color: var(--panel); border-radius: 0.75rem; padding: 0.25rem; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabs-trigger { padding: 0.5rem 0; font-size: 0.875rem; color: var(--muted); background: none; border: none; cursor: pointer; }
.tabs-trigger[data-state="active"] { color: var(--text); background-color: var(--bg); border-radius: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.overflow-hidden { overflow: hidden; }
.rounded-2xl { border-radius: 1rem; }
.relative { position: relative; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.bg-muted { background-color: var(--muted); }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.absolute { position: absolute; }
.left-2 { left: 0.5rem; }
.top-2 { top: 0.5rem; }
.p-3 { padding: 0.75rem; }
.justify-between { justify-content: space-between; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.font-semibold { font-weight: 600; }
.gap-3 { gap: 0.75rem; }
.relative { position: relative; }
.left-2 { left: 0.5rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.input { width: 100%; padding: 0.5rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--line); background-color: var(--bg); color: var(--text); }
.pl-8 { padding-left: 2rem; }
.select { position: relative; }
.select-trigger { width: 100%; padding: 0.5rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--line); background-color: var(--bg); color: var(--text); text-align: left; }
.select-content { position: absolute; z-index: 10; width: 100%; margin-top: 0.25rem; background-color: var(--panel); border: 1px solid var(--line); border-radius: 0.5rem; display: none; }
.select-item { padding: 0.5rem 0.75rem; cursor: pointer; }
.select-item:hover { background-color: var(--bg); }
.w-\[84px\] { width: 84px; }
.mr-2 { margin-right: 0.5rem; }
.inline { display: inline; }
.ml-auto { margin-left: auto; }
.h-7 { height: 1.75rem; }
.w-\[140px\] { width: 140px; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.p-2 { padding: 0.5rem; }
.font-medium { font-weight: 500; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.card-header { padding: 1rem 1rem 0; }
.card-title { font-size: 1.25rem; font-weight: 600; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.overflow-x-auto { overflow-x: auto; }
.pb-1 { padding-bottom: 0.25rem; }
.h-16 { height: 4rem; }
.w-24 { width: 6rem; }
.shrink-0 { flex-shrink: 0; }
.rounded-xl { border-radius: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.rounded { border-radius: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.h-3 { height: 0.75rem; }
.w-11\/12 { width: 91.666667%; }
.w-9\/12 { width: 75%; }
.h-28 { height: 7rem; }
.w-28 { width: 7rem; }
.pl-3 { padding-left: 0.75rem; }
.fixed { position: fixed; }
.inset-x-0 { left: 0; right: 0; }
.bottom-0 { bottom: 0; }
.z-50 { z-index: 50; }
.border-t { border-top-width: 1px; }
.bg-background\/90 { background-color: rgba(11, 15, 18, 0.9); }
.backdrop-blur { backdrop-filter: blur(8px); }
.supports-\[backdrop-filter\]\:bg-background\/70 { @supports (backdrop-filter: blur(1px)) { background-color: rgba(11, 15, 18, 0.7); } }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 500; }
.btn-outline { background-color: transparent; border: 1px solid var(--line); }
.flex-1 { flex: 1; }
.gap-1 { gap: 0.25rem; }

#floating-qr-btn {
  position: fixed;
  bottom: 80px; /* Adjust to be above the sticky footer */
  right: 20px;
  z-index: 100;
  background-color: var(--teal);
  color: var(--bg);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
}

/* Profile edit page styles */
.hidden { display: none !important; }

.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }

.h-20 { height: 5rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }

.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

.block { display: block; }

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--muted);
  transition: .4s;
  border-radius: 12px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--teal);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.w-\[120px\] { width: 120px; }

textarea.input {
  resize: vertical;
  min-height: 80px;
}

.pl-8 { padding-left: 2rem; }
