/* ================================================================
   DAILY MENTAL HEALTH CHECK-IN — STYLES
   Farbpalette: Waldgrün (#228B22) · Violett (#6A0DAD)
   Design: Glasmorphism · Mobile-First · Card-Stacking
   ================================================================ */

/* ——— CSS CUSTOM PROPERTIES ——— */
:root {
  /* Brand colours */
  --green:  #228B22;
  --green-light: #2ecc40;
  --green-dark: #1a6b1a;
  --violet: #6A0DAD;
  --violet-light: #8b3fcf;
  --violet-dark: #4a0080;

  /* Neutrals */
  --white: #ffffff;
  --white-15: rgba(255, 255, 255, 0.15);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-50: rgba(255, 255, 255, 0.50);
  --white-70: rgba(255, 255, 255, 0.70);
  --white-85: rgba(255, 255, 255, 0.85);
  --white-90: rgba(255, 255, 255, 0.92);
  --dark: #1a1a2e;
  --dark-50: rgba(26, 26, 46, 0.5);
  --text: #2c2c3e;
  --text-muted: #6b6b80;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  --glass-blur: 18px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-card: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Font */
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ——— RESET & BASE ——— */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— ANIMATED BACKGROUND ——— */
.bg-gradient {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg,
    #0d1117 0%,
    #1a1a2e 20%,
    #16213e 40%,
    #1a2a1a 60%,
    #1a1a2e 80%,
    #0d1117 100%
  );
  z-index: -2;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: var(--violet);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: -8%;
  left: -8%;
  animation-delay: -4s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--violet-light), var(--green-light));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -30px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ——— PROGRESS BAR ——— */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--white-15);
  z-index: 100;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--violet));
  border-radius: 0 2px 2px 0;
  transition: width var(--transition-card);
}

/* ——— CARD STACK ——— */
.card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 520px;
  padding: var(--space-md);
  perspective: 1200px;
}

/* ——— CARD BASE ——— */
.card {
  position: absolute;
  inset: var(--space-md);
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px) scale(0.92);
  transition:
    opacity var(--transition-card),
    transform var(--transition-card),
    visibility var(--transition-card);
  will-change: transform, opacity;
  z-index: 1;
}

/* States */
.card--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 10;
}

.card--behind {
  opacity: 0.45;
  visibility: visible;
  transform: translateY(16px) scale(0.95);
  z-index: 5;
  pointer-events: none;
}

.card--exit {
  opacity: 0;
  transform: translateY(-60px) scale(0.9);
  z-index: 0;
  pointer-events: none;
}

/* ——— CARD HEADER ——— */
.card__header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.card__step {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white-50);
  margin-bottom: var(--space-sm);
}

.card__optional {
  display: inline-block;
  background: var(--violet);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: var(--space-sm);
  vertical-align: middle;
}

.card__question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white-90);
  line-height: 1.4;
  margin-top: var(--space-sm);
}

/* ——— CARD BODY ——— */
.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow: hidden;
  overflow-y: auto;
}

/* ——— CARD FOOTER ——— */
.card__footer {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  align-items: center;
}

.card__footer .btn--primary,
.card__footer .btn--save,
.card__footer .btn--ghost {
  flex: 1;
}

/* ——— TEXTAREA ——— */
.input-textarea {
  width: 100%;
  min-height: 100px;
  padding: var(--space-md);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white-90);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--white-25);
  border-radius: var(--radius-md);
  outline: none;
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.input-textarea::placeholder {
  color: var(--white-50);
}

.input-textarea:focus {
  border-color: var(--violet-light);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.25);
}

.input-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-70);
  margin-bottom: var(--space-xs);
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Primary */
.btn--primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.35);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.45);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn--primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Save button */
.btn--save {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  box-shadow: 0 4px 15px rgba(106, 13, 173, 0.35);
}

.btn--save:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(106, 13, 173, 0.45);
}

/* Glow */
.btn--glow {
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(34, 139, 34, 0.35); }
  50%      { box-shadow: 0 4px 30px rgba(34, 139, 34, 0.6), 0 0 60px rgba(34, 139, 34, 0.15); }
}

/* Secondary (Back) */
.btn--secondary {
  background: var(--white-15);
  color: var(--white-70);
  padding: 0.75rem;
  min-width: 44px;
}

.btn--secondary:hover {
  background: var(--white-25);
  color: var(--white);
}

/* Ghost (Skip) */
.btn--ghost {
  background: transparent;
  color: var(--white-50);
  border: 1px solid var(--white-25);
}

.btn--ghost:hover {
  background: var(--white-15);
  color: var(--white-70);
}

/* Choice Buttons (Ja/Nein) */
.btn-group {
  display: flex;
  gap: var(--space-md);
}

.btn--choice {
  flex: 1;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  background: var(--white-15);
  color: var(--white-70);
  border: 2px solid var(--white-25);
  transition: all var(--transition);
}

.btn--choice:hover {
  background: var(--white-25);
}

.btn--yes.active {
  background: rgba(34, 139, 34, 0.25);
  border-color: var(--green);
  color: var(--green-light);
  box-shadow: 0 0 20px rgba(34, 139, 34, 0.2);
}

.btn--no.active {
  background: rgba(106, 13, 173, 0.25);
  border-color: var(--violet);
  color: var(--violet-light);
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.2);
}

/* ——— CONDITIONAL FIELDS ——— */
.conditional-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}

.conditional-fields.visible {
  max-height: 400px;
  opacity: 1;
  margin-top: var(--space-md);
}

/* ——— SLIDER (Visual Analog Scale) ——— */
.slider-container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.slider-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.slider-wrapper {
  position: relative;
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: transparent;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 4px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    #e74c3c 0%,
    #e67e22 25%,
    #f1c40f 50%,
    #2ecc40 75%,
    var(--green) 100%
  );
  opacity: 0.8;
  z-index: 1;
  transition: clip-path var(--transition-fast);
}

/* Unfilled part of the track */
.slider-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 4px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

/* Thumb */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.slider-value {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-90);
  margin-top: var(--space-xs);
}

.slider-label {
  margin-top: var(--space-sm);
}

/* ——— GRADE SCALE ——— */
.grade-scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.grade-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  background: var(--white-15);
  border: 2px solid var(--white-25);
  border-radius: var(--radius-md);
  color: var(--white-70);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.grade-btn:hover {
  background: var(--white-25);
  border-color: var(--white-50);
}

.grade-btn.active {
  border-color: var(--green);
  background: rgba(34, 139, 34, 0.2);
  color: var(--white);
  box-shadow: 0 0 20px rgba(34, 139, 34, 0.2);
  transform: scale(1.05);
}

.grade-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.grade-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ——— AVATAR ——— */
.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  justify-content: center;
}

.avatar-image {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: avatarFloat 4s ease-in-out infinite;
}

.avatar-img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  object-fit: cover;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

.avatar-mouth {
  position: absolute;
  width: 16px;
  height: 6px;
  border-radius: 0 0 10px 10px;
  background: rgba(90, 30, 10, 0.85);
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.15s ease;
}

.avatar-mouth.speaking {
  animation: speak 0.3s ease-in-out infinite alternate;
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.avatar__head {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--violet-light), var(--green));
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(106, 13, 173, 0.3);
  position: relative;
}

.avatar__eyes {
  display: flex;
  gap: 16px;
  margin-top: -4px;
}

.avatar__eye {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: var(--radius-full);
  animation: blink 4s ease-in-out infinite;
}

.avatar__eye--right {
  animation-delay: 0.1s;
}

@keyframes blink {
  0%, 94%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(0.1); }
}

@keyframes speak {
  0%   { height: 6px; width: 16px; }
  100% { height: 12px; width: 20px; border-radius: 50%; }
}

.avatar__body {
  width: 50px;
  height: 30px;
  background: linear-gradient(135deg, var(--violet-light), var(--green));
  border-radius: 0 0 25px 25px;
  margin-top: -2px;
  opacity: 0.7;
}

/* Speech Bubble */
.speech-bubble {
  position: relative;
  background: var(--white-15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--white-25);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  max-width: 320px;
  text-align: center;
  color: var(--white-85);
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.speech-bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white-25);
}

/* ——— SUCCESS SCREEN ——— */
.card--success {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-content {
  position: relative;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0%   { transform: scale(0);   opacity: 0; }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1);   opacity: 1; }
}

.success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white-90);
  margin-bottom: var(--space-sm);
}

.success-sub {
  font-size: 0.9rem;
  color: var(--white-50);
}

/* Success glow */
.card--success.card--active {
  animation: successGlow 2s ease-in-out infinite;
}

@keyframes successGlow {
  0%, 100% { box-shadow: var(--glass-shadow); }
  50%      { box-shadow: 0 0 40px rgba(34, 139, 34, 0.3), 0 0 80px rgba(106, 13, 173, 0.15); }
}

/* Confetti */
.confetti-container {
  position: absolute;
  inset: -50px;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 2.5s ease-out forwards;
}

@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* ——— LOADING OVERLAY ——— */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  color: var(--white-85);
  font-size: 1rem;
}

.loading-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--white-25);
  border-top-color: var(--green-light);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

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

/* ——— ERROR TOAST ——— */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #ff4757;
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
  z-index: 300;
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  max-width: 90%;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast__close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  margin-left: var(--space-sm);
}

/* ——— RESPONSIVE ——— */

/* Small phones (320px) */
@media (max-width: 320px) {
  .card {
    padding: var(--space-md);
  }

  .card__question {
    font-size: 1.05rem;
  }

  .grade-scale {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .grade-num {
    font-size: 1.2rem;
  }

  .grade-label {
    font-size: 0.55rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .avatar-image {
    width: 120px;
    height: 120px;
  }

  .avatar-img {
    width: 104px;
    height: 104px;
  }

  .avatar-mouth {
    bottom: 38px;
  }
}

/* Tablets (768px) */
@media (min-width: 768px) {
  .card-stack {
    max-width: 520px;
    min-height: 560px;
  }

  .card {
    padding: var(--space-2xl);
  }

  .card__question {
    font-size: 1.4rem;
  }

  .grade-scale {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Desktop (1024px) */
@media (min-width: 1024px) {
  .card-stack {
    max-width: 560px;
    min-height: 600px;
  }

  .card__question {
    font-size: 1.5rem;
  }

  .orb-1 { width: 500px; height: 500px; }
  .orb-2 { width: 450px; height: 450px; }
  .orb-3 { width: 300px; height: 300px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark mode enhancements – always dark by default, but respect system */
@media (prefers-color-scheme: light) {
  /* Keep dark design — intentional decision for the journal mood */
}
/* ——— FLOATING DASHBOARD BUTTON ——— */
.floating-dashboard-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--forest-green), var(--forest-green-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(34, 139, 34, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font);
}

.floating-dashboard-btn .btn-icon {
  font-size: 1.5rem;
}

.floating-dashboard-btn .btn-text {
  display: inline;
}

.floating-dashboard-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(34, 139, 34, 0.6);
  background: linear-gradient(135deg, #2aa82a, var(--forest-green));
}

.floating-dashboard-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Hide on mobile when keyboard is visible */
@media (max-width: 768px) {
  .floating-dashboard-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .floating-dashboard-btn .btn-icon {
    font-size: 1.25rem;
  }
  
  .floating-dashboard-btn .btn-text {
    display: inline;
  }
}

/* Auth pending - hide button until verified */
body.auth-pending .floating-dashboard-btn {
  display: none;
}