/* Dizify v0.1 — Premium Modern Dark Glassmorphic Design */

:root {
  --bg-deep: #05070f;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --glass-bg: rgba(13, 19, 36, 0.58);
  --glass-border: rgba(255, 255, 255, 0.11);
  --glass-border-focus: rgba(99, 102, 241, 0.6);
  --glass-inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.05);

  --accent-indigo: #6366f1;
  --accent-indigo-hover: #4f46e5;
  --accent-indigo-glow: rgba(99, 102, 241, 0.35);
  
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  
  --input-bg: rgba(7, 11, 22, 0.65);
  --radius-card: 22px;
  --radius-btn: 12px;
  --radius-input: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.dizify-root {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 20px;
}

/* Ambient Background Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.glow-top-right {
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, transparent 70%);
}

.glow-bottom-left {
  bottom: -15%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, transparent 70%);
}

.glow-center {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 65%);
}

/* Background Character Visual */
.bg-character-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 70% 35%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(6, 182, 212, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.25) 0%, rgba(5, 7, 15, 0.75) 100%),
    url('../images/background_character.png') center/cover no-repeat;
  filter: saturate(1.2) contrast(1.1);
  opacity: 0.45;
  z-index: 2;
  pointer-events: none;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(5, 7, 15, 0.75) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Stage & Floating Glass Card */
.login-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 34px 28px;
  box-shadow: var(--glass-shadow);
  box-shadow: var(--glass-inner-highlight), var(--glass-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Top Badge */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7d2fe;
  margin-bottom: 20px;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

/* Typography */
.card-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Status Banner */
.status-banner {
  padding: 12px 16px;
  border-radius: var(--radius-input);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-banner.error {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fecdd3;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.15);
}

.status-banner.success {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.status-banner.info {
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.45);
  color: #c7d2fe;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15);
}

#stage1Status {
  margin-top: 4px;
  margin-bottom: 14px;
}

.hidden {
  display: none !important;
}

/* Form Controls */
.input-group {
  margin-bottom: 14px;
}

.input-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s ease;
}

.glass-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-input);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.glass-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.glass-input:focus {
  border-color: var(--accent-indigo);
  background: rgba(10, 16, 32, 0.85);
  box-shadow: 0 0 0 3px var(--accent-indigo-glow);
}

.input-wrapper:focus-within .input-icon {
  color: var(--accent-indigo);
}

/* Quick Project Pills */
.quick-projects {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}

.quick-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pills-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.2s ease;
}

.glass-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  transform: translateY(-1px);
}

.glass-pill.active {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.45);
  color: #c7d2fe;
}

.glass-pill.active .pill-dot {
  background: var(--accent-indigo);
  box-shadow: 0 0 6px var(--accent-indigo);
}

/* Buttons Stack */
.actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-btn);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

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

.btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Card Divider */
.card-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 500;
}

.card-divider::before,
.card-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-divider span {
  padding: 0 10px;
}

/* Token Section */
.token-section {
  text-align: center;
}

.token-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.token-toggle-btn:hover {
  color: var(--text-muted);
}

.token-box {
  margin-top: 10px;
  text-align: left;
}

.token-input-row {
  display: flex;
  gap: 8px;
}

.token-input {
  padding-left: 14px;
}

.btn-token {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0 16px;
  border-radius: var(--radius-input);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-token:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  body.dizify-root {
    padding: 12px;
  }
  .glass-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .card-title {
    font-size: 23px;
  }
}


/* ==========================================================================
   VERTICAL PROGRESSIVE CHARACTER CREATION SCROLL STYLES
   ========================================================================== */

.main-container {
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: auto;
}

.studio-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.active-project-bar {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.active-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.project-caption {
  font-size: 13px;
  color: var(--text-dim);
}

.project-name-text {
  font-size: 14px;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.btn-action-sm {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-action-sm:hover {
  background: rgba(99, 102, 241, 0.35);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
}

.creation-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.progressive-card {
  width: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.glass-select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-input);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.glass-select:focus {
  border-color: var(--glass-border-focus);
  background-color: rgba(10, 16, 32, 0.95);
  box-shadow: 0 0 0 3px var(--accent-indigo-glow);
}

.glass-select:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.glass-select option {
  background: #0d1324;
  color: var(--text-main);
  padding: 10px;
}

/* Specific Dropdown Styling for Dynamic Model Items */
#charModelSelect {
  font-weight: 600;
  letter-spacing: 0.01em;
}

#charModelSelect option {
  padding: 12px;
  background: #080d1a;
  color: #f1f5f9;
}

.label-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.link-btn:hover {
  text-decoration: underline;
}

.glass-textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-input);
  font-size: 13px;
  line-height: 1.5;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.glass-textarea:focus {
  border-color: var(--glass-border-focus);
}

/* Canvas Preview in Stage 2 */
.canvas-wrapper {
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #020409;
}

.canvas-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aspect-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

/* Prompt inline edit & Recreate */
.review-action-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.prompt-edit-inline {
  display: flex;
  gap: 8px;
}

.edit-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
}

.btn-action-inline {
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.45);
  color: #ffffff;
  padding: 0 16px;
  border-radius: var(--radius-input);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-action-inline:hover {
  background: rgba(99, 102, 241, 0.4);
}

.btn-action-outline {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-action-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Turnaround section */
.turnaround-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.slot-tab-header {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px;
  border-radius: 8px;
}

.slot-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.slot-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Voice picker in Stage 3 */
.voice-picker-row {
  display: flex;
  gap: 8px;
}

.btn-voice-play {
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67e8f9;
  padding: 0 16px;
  border-radius: var(--radius-input);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-voice-play:hover {
  background: rgba(6, 182, 212, 0.3);
  color: #fff;
}

.btn-seal {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-seal:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.4);
}

/* Post-Creation Finale Celebratory Card */
.celebratory-card {
  text-align: center;
  padding: 34px 24px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15) 0%, rgba(13, 19, 36, 0.85) 70%);
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.celebration-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
}

.celebration-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.celebration-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

.celebration-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.char-sheet-container {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  animation: fadeInDown 0.3s ease;
}

.sheet-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sheet-data-row:last-child {
  border-bottom: none;
}

.sheet-label {
  font-size: 12px;
  color: var(--text-dim);
}

.sheet-value {
  font-size: 13px;
  color: var(--text-main);
  text-align: right;
}

.sheet-status-tag {
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Stage 1 Real Loading Spinner & Active Button States */
.btn-primary.btn-loading {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

.spinner-icon {
  animation: spin 0.85s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
