.opendoorway-logo-wordmark {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-primary, #240952);
  text-transform: uppercase;
  user-select: none;
}

.opendoorway-logo-wordmark:hover {
  opacity: 0.8;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 0.25rem);
  border: 1px solid var(--color-outline-variant, #e5e5e5);
  background: var(--color-surface-container, #f5f5f5);
  color: var(--color-on-surface, #171717);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--color-surface-container-high, #eeeeee);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary, #240952);
  outline-offset: 2px;
}

.skeleton-loader {
  background: linear-gradient(
    90deg,
    var(--color-surface-container, #f5f5f5) 25%,
    var(--color-surface-container-high, #eeeeee) 50%,
    var(--color-surface-container, #f5f5f5) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm, 0.125rem);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ripple:active::after {
  opacity: 1;
  transition: opacity 0s;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--color-primary, #240952);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 0.125rem);
}

.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: var(--color-outline-variant, #e5e5e5);
  border-radius: 9999px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: var(--color-outline, #d4d4d4);
}

@media print {
  body {
    background: white !important;
    color: black !important;
  }

  .no-print,
  nav,
  .sidebar,
  .theme-toggle {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
