/* ===== FLASHR LOGO - SHARED ACROSS ALL PAGES ===== */

/* CSS Variables for logo styling */
:root {
  --logo-gradient: linear-gradient(135deg, #fbbf24 0%, #fcd34d 50%, #6b7280 100%);
  --logo-gradient-text: linear-gradient(135deg, #fbbf24 0%, #fcd34d 50%, #6b7280 100%);
}

/* Base Logo Container */
.flashr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Logo Icon (Lightning bolt) */
.flashr-logo__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.8));
  flex-shrink: 0;
}

/* Logo Wordmark */
.flashr-logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flashr-logo__text {
  font-size: 28px;
  font-weight: 900;
  background: var(--logo-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  line-height: 1;
}

.flashr-logo__subtitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.8);
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ===== VARIANTS ===== */

/* Compact variant (just text, no icon) - for landing page header */
.flashr-logo--compact {
  gap: 0;
}

.flashr-logo--compact .flashr-logo__icon {
  display: none;
}

.flashr-logo--compact .flashr-logo__text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
}

/* Large variant - for auth cards */
.flashr-logo--large {
  justify-content: center;
  gap: 16px;
}

.flashr-logo--large .flashr-logo__icon {
  width: 64px;
  height: 64px;
  font-size: 40px;
}

.flashr-logo--large .flashr-logo__text {
  font-size: 36px;
}

.flashr-logo--large .flashr-logo__subtitle {
  font-size: 13px;
}

/* Stacked variant - icon above text for centered layouts */
.flashr-logo--stacked {
  flex-direction: column;
  text-align: center;
  gap: 12px;
}

.flashr-logo--stacked .flashr-logo__wordmark {
  align-items: center;
}

/* Simple text-only variant (no icon, no subtitle) */
.flashr-logo--simple {
  gap: 0;
}

.flashr-logo--simple .flashr-logo__icon,
.flashr-logo--simple .flashr-logo__subtitle {
  display: none;
}

.flashr-logo--simple .flashr-logo__text {
  font-size: 32px;
}

/* ===== BACKWARD COMPATIBILITY ===== */
/* Support old loopr-logo class names temporarily */
.loopr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.loopr-logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loopr-logo__text {
  font-size: 28px;
  font-weight: 900;
  background: var(--logo-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  line-height: 1;
}

.loopr-logo--simple {
  gap: 0;
}

.loopr-logo--simple .loopr-logo__text {
  font-size: 32px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .flashr-logo__icon {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .flashr-logo__text {
    font-size: 24px;
  }

  .flashr-logo__subtitle {
    font-size: 10px;
  }

  .flashr-logo--compact .flashr-logo__text {
    font-size: 28px;
  }

  .flashr-logo--large .flashr-logo__icon {
    width: 56px;
    height: 56px;
    font-size: 36px;
  }

  .flashr-logo--large .flashr-logo__text {
    font-size: 32px;
  }
}
