/* ══════════════════════════════════════════
   کت‌یار — CatYar Dashboard Styles
   ══════════════════════════════════════════ */

/* ── Variables (shared with landing) ── */
:root {
  --bg-dark: #05070e;
  --bg-card: rgba(14, 19, 36, 0.65);
  --bg-card-hover: rgba(22, 30, 56, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(129, 140, 248, 0.5);
  --glow-indigo: rgba(99, 102, 241, 0.22);

  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --header-h: 60px;
}

/* ══════════════════════════════════
   LOADING SCREEN
   ══════════════════════════════════ */
#loadingScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.4s;
}

#loadingScreen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ══════════════════════════════════
   DASHBOARD HEADER
   ══════════════════════════════════ */
.dash-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 7, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.dash-header-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.dash-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.4);
}

.dash-brand-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
}

.dash-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-user-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

.dash-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.dash-btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  color: var(--text-main);
}

.dash-btn-icon:active {
  transform: scale(0.94);
}

/* ══════════════════════════════════
   MAIN LAYOUT
   ══════════════════════════════════ */
.dash-main {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 20px) 16px 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ══════════════════════════════════
   WELCOME BOX
   ══════════════════════════════════ */
.welcome-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.welcome-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-pink), var(--accent-cyan));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.welcome-greeting {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.welcome-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.welcome-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.welcome-stat-icon {
  font-size: 16px;
}

/* ══════════════════════════════════
   QUICK ACTIONS
   ══════════════════════════════════ */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.quick-action-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.quick-action-btn:active {
  transform: scale(0.95);
}

.quick-action-icon {
  font-size: 28px;
}

.quick-action-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ══════════════════════════════════
   CATS SECTION
   ══════════════════════════════════ */
.cats-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-size: 17px;
  font-weight: 800;
}

.btn-add-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 7px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-cat:hover {
  background: rgba(99, 102, 241, 0.2);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  border-right: 3px solid;
  border-image: linear-gradient(180deg, var(--primary), var(--accent-pink)) 1;
}

.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  border-right: 3px solid;
  border-image: linear-gradient(180deg, var(--primary), var(--accent-pink)) 1;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.cat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cat-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-emoji {
  font-size: 28px;
}

.cat-name {
  font-size: 15px;
  font-weight: 800;
}

.cat-edit-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  color: var(--text-dim);
}

.cat-edit-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.cat-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.cat-schedule-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
}

.cat-malt-status {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.malt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.malt-green  { background: var(--emerald); box-shadow: 0 0 6px var(--emerald); }
.malt-yellow { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.malt-red    { background: var(--red); box-shadow: 0 0 6px var(--red); }

.cats-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ══════════════════════════════════
   TIMELINE
   ══════════════════════════════════ */
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-right: 24px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  right: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent-pink), transparent);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  position: absolute;
  right: -24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
}

.timeline-dot-feed   { background: var(--primary); }
.timeline-dot-treat  { background: var(--accent-pink); }
.timeline-dot-malt   { background: var(--emerald); }
.timeline-dot-water  { background: var(--accent-cyan); }
.timeline-dot-litter { background: var(--amber); }

.timeline-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-icon {
  font-size: 18px;
}

.timeline-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.timeline-time {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  direction: ltr;
  flex-shrink: 0;
}

.timeline-delete-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  flex-shrink: 0;
  color: var(--red);
}

.timeline-delete-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

.timeline-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ══════════════════════════════════
   MODALS (DASHBOARD)
   ══════════════════════════════════ */
.dash-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dash-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.dash-modal-card {
  background: rgba(18, 24, 46, 0.96);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--glow-indigo);
  border-radius: 24px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dash-modal-overlay.active .dash-modal-card {
  transform: scale(1);
}

.dash-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dash-modal-title {
  font-size: 17px;
  font-weight: 800;
}

.dash-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  color: var(--text-dim);
}

.dash-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* ── Form Elements ── */
.dash-form-group {
  margin-bottom: 16px;
}

.dash-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dash-form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  color: var(--text-main);
  transition: border-color 0.2s;
  outline: none;
}

.dash-form-input:focus {
  border-color: var(--primary);
}

.dash-form-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.dash-form-select:focus {
  border-color: var(--primary);
}

/* ── Schedule Chips ── */
.schedule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.schedule-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 5px 10px;
  border-radius: 8px;
}

.schedule-chip-remove {
  cursor: pointer;
  font-size: 11px;
  color: var(--text-dim);
  margin-right: 2px;
  transition: color 0.2s;
}

.schedule-chip-remove:hover {
  color: var(--red);
}

.add-schedule-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.add-schedule-row input[type="time"] {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text-main);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  font-size: 13px;
  outline: none;
}

.add-schedule-row input[type="time"]:focus {
  border-color: var(--primary);
}

.btn-add-schedule {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-add-schedule:hover {
  background: rgba(99, 102, 241, 0.3);
}

/* ── Cat Selector (Action Modal) ── */
.cat-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.cat-selector-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-selector-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.cat-selector-btn:active {
  transform: scale(0.96);
}

.cat-selector-emoji {
  font-size: 32px;
}

.cat-selector-name {
  font-size: 13px;
  font-weight: 700;
}

/* ── Action Sub-forms ── */
.action-sub-form {
  margin-top: 16px;
}

.water-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.water-type-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.water-type-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.litter-form-group {
  margin-bottom: 12px;
}

/* ── Toggle Switch ── */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.toggle-label {
  font-size: 13px;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  top: 3px;
  right: 3px;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(-20px);
}

/* ── Modal Buttons ── */
.dash-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: #fff;
  padding: 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
  margin-top: 8px;
}

.dash-btn-primary:active {
  transform: scale(0.97);
}

.dash-btn-danger {
  width: 100%;
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  padding: 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  cursor: pointer;
  border: 1px solid rgba(239, 68, 68, 0.3);
  transition: all 0.2s;
  margin-top: 8px;
}

.dash-btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* ══════════════════════════════════
   TOAST (DASHBOARD)
   ══════════════════════════════════ */
.dash-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1100;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

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

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 768px) {
  .quick-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .cats-grid {
    grid-template-columns: 1fr;
  }

  .cat-selector-grid {
    grid-template-columns: 1fr;
  }

  .welcome-stats {
    flex-direction: column;
  }

  .dash-user-name {
    display: none;
  }

  .quick-action-btn {
    padding: 14px 6px;
  }

  .quick-action-icon {
    font-size: 24px;
  }

  .quick-action-label {
    font-size: 10px;
  }

  .dash-modal-card {
    padding: 20px 16px;
    border-radius: 20px;
    max-height: 90vh;
  }

  .timeline-list {
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .quick-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .welcome-greeting {
    font-size: 18px;
  }

  .dash-main {
    padding-left: 12px;
    padding-right: 12px;
    gap: 18px;
  }

  .water-type-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════
   LOGIN REQUIRED PAGE
   ══════════════════════════════════ */
.login-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 20px;
}

.login-required-card {
  max-width: 480px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.login-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.login-required-card h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.login-required-card > p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.login-steps {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.login-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 16px;
}

.login-step-num {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.login-step strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.login-step p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.login-step code {
  font-family: 'Vazirmatn', monospace;
  background: rgba(99, 102, 241, 0.15);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--primary-light);
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-login-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #ec4899);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-login-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.6);
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-login-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-login-ghost:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.08);
}
