/* AutoWash — Base Stylesheet */

/* Hide Alpine-managed elements before Alpine initialises — prevents flash of modal/overlay content */
[x-cloak] { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Default brand colors — overridden per-org via inline <style> in each page */
:root {
  --aw-brand-dark:  #00618f;
  --aw-brand-light: #00affe;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  min-height: max(884px, 100dvh);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.icon-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
  background: rgba(245, 247, 249, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.liquid-gradient {
  background: linear-gradient(135deg, var(--aw-brand-dark, #00618f) 0%, var(--aw-brand-light, #00affe) 100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--aw-brand-dark, #00618f) 0%, var(--aw-brand-light, #00affe) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-primary:hover    { opacity: 0.92; }
.btn-primary:active   { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Fluid shimmer progress bar */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.fluid-progress {
  background: linear-gradient(90deg, var(--aw-brand-light, #00affe) 0%, #00e3fd 100%);
  position: relative;
  overflow: hidden;
}
.fluid-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* Underline input */
.input-line {
  border: none;
  border-bottom: 2px solid rgba(171, 173, 175, 0.5);
  background: transparent;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.input-line:focus {
  border-bottom-color: var(--aw-brand-light, #00affe);
}

/* No scrollbar utility */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
