@import "https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap";
@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";
@import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css";
/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg-dark: #020617;
  --bg-card: #0f172a;
  --bg-input: #1e293b;
  --bg-hover: #ffffff0d;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #ffffff14;
  --glass-bg: #0f172ab3;
  --glass-border: #ffffff14;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-secondary: #0ea5e9;
  --accent-success: #10b981;
  --accent-danger: #ef4444;
  --accent-warning: #f59e0b;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000001a;
  --gradient-primary: radial-gradient(circle at 10% 20%, #2563eb26 0%, transparent 40%), radial-gradient(circle at 90% 80%, #10b98126 0%, transparent 40%);
  --primary: #ff4041;
  --primary-hover: #e03031;
  --secondary: #293763;
  --accent: #ff4041;
  --bg-body: #f6faff;
  --bg-sidebar: #fff;
  --bg-surface: #e7f1ff;
  --text-main: #293763;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-card: 0px 5px 15px #ccd8eb7a;
  --shadow-hover: 0px 8px 25px #ccd8eb99;
  --font-main: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #fff;
  --bg-input: #f1f5f9;
  --bg-hover: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --glass-bg: #fffc;
  --glass-border: #0000000d;
  --accent-primary: #3b82f6;
  --accent-hover: #2563eb;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 4px 6px -1px #0000000d, 0 2px 4px -1px #0000000d;
  --gradient-primary: radial-gradient(circle at 10% 20%, #3b82f614 0%, transparent 40%), radial-gradient(circle at 90% 80%, #10b98114 0%, transparent 40%);
}

*, :before, :after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  background-image: var(--gradient-primary);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: Outfit, sans-serif;
  line-height: 1.6;
  transition: background-color .3s, color .3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }

  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }

  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

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

@keyframes htmx-loading {
  0% {
    width: 0%;
    left: 0;
  }

  50% {
    width: 70%;
    left: 15%;
  }

  100% {
    width: 0%;
    left: 100%;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.animate-fade-in {
  animation: .4s ease-out forwards fadeIn;
}

.card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
}

.premium-glass {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #ffffff08;
  border: 1px solid #ffffff14;
  box-shadow: 0 8px 32px #0003;
}

[data-theme="light"] .premium-glass {
  background: #ffffff80;
  border: 1px solid #0000000d;
}

.perspective-container {
  perspective: 1000px;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .1s;
}

.tilt-card:hover {
  box-shadow: 0 30px 60px -12px #0000004d, 0 18px 36px -18px #00000059;
}

.input {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  width: 100%;
  color: var(--text-primary);
  box-sizing: border-box;
  border-radius: .5rem;
  margin-bottom: 1.5rem;
  padding: .75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all .2s;
}

.input:focus {
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 0 0 4px #2563eb1a;
}

.input::placeholder {
  color: var(--text-muted);
}

.btn {
  background-color: var(--accent-primary);
  color: #fff;
  cursor: pointer;
  letter-spacing: .025em;
  box-shadow: var(--shadow-md);
  border: none;
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
}

.btn:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: none;
  background-color: #0000;
}

.btn-secondary:hover {
  background-color: var(--bg-hover);
  border-color: var(--text-secondary);
}

.btn-sm {
  padding: .4rem 1rem;
  font-size: .875rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  margin-top: 0;
}

h1 {
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--accent-primary);
}

.badge {
  border-radius: 9999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
}

.badge-success {
  color: var(--accent-success);
  background: #10b98126;
}

.badge-danger {
  color: var(--accent-danger);
  background: #ef444426;
}

.badge-primary {
  color: var(--accent-primary);
  background: #3b82f626;
}

.badge-secondary {
  background: var(--bg-input);
  color: var(--text-secondary);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {
  text-align: left;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  font-size: .875rem;
  font-weight: 500;
}

td {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 1rem;
}

.dashboard-body {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.sidebar {
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-color);
  box-sizing: border-box;
  flex-direction: column;
  flex-shrink: 0;
  width: 260px;
  height: 100vh;
  padding: 1rem 1rem .5rem;
  transition: background-color .3s, border-color .3s;
  display: flex;
  overflow: hidden;
}

.sidebar-header {
  color: var(--text-primary);
  flex-shrink: 0;
  align-items: center;
  margin-bottom: .5rem;
  padding-left: .5rem;
  display: flex;
}

.sidebar-nav {
  flex: 1;
  padding-bottom: 1rem;
  padding-right: .5rem;
  overflow: hidden auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: none;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 2px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

.nav-label {
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: .05em;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  padding-left: .75rem;
  font-size: .75rem;
  font-weight: 600;
}

.nav-item {
  color: var(--text-secondary);
  border-radius: .5rem;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  display: flex;
}

.nav-item:hover, .nav-item.active {
  background-color: var(--bg-hover);
  color: var(--accent-primary);
}

.nav-item.active {
  background-color: #2563eb1a;
}

.main-content {
  background-color: var(--bg-dark);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.top-header {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-card);
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 2rem;
  transition: background-color .3s, border-color .3s;
  display: flex;
}

.icon-btn {
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  font-size: 1rem;
  transition: all .2s;
  display: inline-flex;
}

.icon-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-hover);
}

.user-profile {
  border: 1px solid var(--border-color);
  background-color: var(--bg-input);
  border-radius: 2rem;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1rem;
  display: flex;
}

.avatar {
  background: var(--accent-primary);
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: .875rem;
  font-weight: 700;
  display: flex;
}

.user-name {
  color: var(--text-primary);
  font-size: .9rem;
  font-weight: 600;
}

.user-role {
  color: var(--text-secondary);
  text-transform: capitalize;
  font-size: .75rem;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 1rem;
  padding: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  display: flex;
}

.content-wrapper {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.page-loading-bar {
  background: var(--accent-primary, #3b82f6);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  width: 0%;
  height: 3px;
  transition: width .3s, opacity .3s;
  position: fixed;
  top: 0;
  left: 0;
}

.page-loading-bar.loading {
  opacity: 1;
  width: 70%;
}

.page-loading-bar.done {
  opacity: 0;
  width: 100%;
}

.timeline-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  display: flex;
}

.timeline-carousel {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: .75rem;
  padding: 1rem 0;
  display: flex;
  overflow-x: auto;
}

.timeline-carousel::-webkit-scrollbar {
  height: 6px;
}

.timeline-carousel::-webkit-scrollbar-track {
  background: var(--bg-input);
  border-radius: 3px;
}

.timeline-carousel::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}

.timeline-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

.timeline-slot {
  scroll-snap-align: start;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: 8px;
  flex: 0 0 140px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.timeline-slot:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.timeline-slot.empty {
  opacity: .5;
}

.slot-time {
  color: var(--text-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-input);
  padding: .5rem;
  font-size: .7rem;
  font-weight: 500;
}

.slot-thumbnail {
  background: var(--bg-input);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  height: 80px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.slot-thumbnail img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .3s;
}

.slot-thumbnail:hover img {
  transform: scale(1.05);
}

.slot-thumbnail .empty-placeholder {
  color: var(--text-muted);
  font-size: 1.5rem;
}

.slot-meta {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: .5rem;
}

.slot-meta .app-title {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: .25rem;
  font-size: .65rem;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  z-index: 9999;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
  display: flex;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  box-shadow: 0 8px 16px #0000001a;
}

.theme-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--accent-primary);
  transform: translateY(-5px)rotate(8deg);
  box-shadow: 0 12px 24px #00000026;
}

.theme-toggle i {
  color: var(--text-primary);
  font-size: 1.5rem;
  transition: all .5s;
}

[data-theme="light"] .theme-toggle i {
  color: #f59e0b;
}

body, .sidebar, .top-header, .main-content, .card, .chart-card, .btn, .nav-item {
  transition: background-color .3s, border-color .3s, color .1s;
}

.timeline-hour-nav {
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .5rem 0;
  display: flex;
  overflow-x: auto;
}

.hour-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 6px;
  flex: none;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  transition: all .2s;
}

.hour-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.hour-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.page-title {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.auth-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  display: flex;
  position: relative;
  overflow: hidden;
}

.auth-page:before {
  content: "";
  pointer-events: none;
  background-image: radial-gradient(circle at 20%, #ffffff1a 0%, #0000 50%), radial-gradient(circle at 80% 80%, #ffffff14 0%, #0000 50%), radial-gradient(circle at 40% 20%, #ffffff0f 0%, #0000 50%);
  width: 200%;
  height: 200%;
  position: absolute;
}

.auth-logo {
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  display: flex;
}

.auth-logo-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 800;
}

.auth-card {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #fffffff2;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 48px;
  transition: transform .3s, box-shadow .3s;
  animation: .6s ease-out fadeInUp;
  position: relative;
  box-shadow: 0 20px 60px #0000004d, inset 0 0 0 1px #ffffff1a;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 80px #00000059, inset 0 0 0 1px #ffffff1a;
}

.auth-close {
  color: #94a3b8;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 24px;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
}

.auth-close:hover {
  color: #475569;
  background: #f1f5f9;
  transform: rotate(90deg);
}

.auth-title {
  text-align: center;
  color: #1e293b;
  letter-spacing: -.5px;
  margin-bottom: 12px;
  font-size: 2rem;
  font-weight: 800;
}

.auth-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
  font-size: 1rem;
  font-weight: 500;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  color: #475569;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: .875rem;
  font-weight: 600;
  display: block;
}

.form-input-wrapper {
  width: 100%;
  position: relative;
}

.form-input {
  color: #1e293b;
  box-sizing: border-box;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  width: 100%;
  padding: 14px 16px;
  font-family: Inter, sans-serif;
  font-size: .95rem;
  font-weight: 500;
  transition: all .3s;
}

.form-input:focus {
  background: #fff;
  border-color: #667eea;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px #667eea1a, 0 4px 12px #667eea26;
}

.form-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-input.error {
  background: #fef2f2;
  border-color: #ef4444;
}

.input-icon {
  color: #94a3b8;
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.input-icon-clickable {
  pointer-events: auto;
  cursor: pointer;
  transition: color .2s;
}

.input-icon-clickable:hover {
  color: #475569;
}

.form-row {
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.checkbox-wrapper {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  display: flex;
}

.checkbox-input {
  appearance: none;
  cursor: pointer;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  transition: all .2s;
  position: relative;
}

.checkbox-input:hover {
  border-color: #667eea;
}

.checkbox-input:checked {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

.checkbox-input:checked:after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-label {
  color: #475569;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  font-size: .9rem;
  line-height: 1.5;
}

.checkbox-label a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.checkbox-label a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.auth-button {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px #667eea66;
}

.auth-button:before {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff4d, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.auth-button:hover:before {
  left: 100%;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #667eea80;
}

.auth-button:active {
  transform: translateY(0);
}

.auth-button:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.auth-footer {
  text-align: center;
  color: #64748b;
  margin-top: 32px;
  font-size: .95rem;
}

.auth-footer a {
  color: #667eea;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.error-message {
  color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fca5a5;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  font-size: .9rem;
  animation: .4s shake;
  display: flex;
}

.error-message:before {
  content: "⚠";
  font-size: 1.2rem;
}

.success-message {
  color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  font-size: .9rem;
  display: flex;
}

.success-message:before {
  content: "✓";
  font-size: 1.2rem;
}

.forgot-password {
  color: #64748b;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.forgot-password:hover {
  color: #667eea;
}

.contact-support {
  color: #64748b;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s;
  display: flex;
}

.contact-support:hover {
  color: #667eea;
}

.contact-support-icon {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-size: .75rem;
  font-weight: bold;
  display: flex;
}

.version-number {
  color: #ffffffb3;
  font-size: .8rem;
  font-weight: 500;
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.modal-overlay {
  z-index: 10000;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0009;
  justify-content: center;
  align-items: center;
  animation: .2s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  padding: 2rem;
  animation: .3s fadeInUp;
  overflow-y: auto;
  box-shadow: 0 25px 50px #0006;
}

.modal-title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-actions {
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  display: flex;
}

.toast-container {
  z-index: 10001;
  pointer-events: none;
  flex-direction: column;
  gap: .5rem;
  display: flex;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  pointer-events: auto;
  text-align: center;
  border-radius: 12px;
  min-width: 300px;
  padding: 1rem 1.5rem;
  font-size: .9rem;
  font-weight: 500;
  animation: .3s fadeInUp;
  box-shadow: 0 8px 20px #0003;
}

.toast.success {
  background: var(--accent-success);
  color: #fff;
}

.toast.error {
  background: var(--accent-danger);
  color: #fff;
}

.toast.info {
  background: var(--accent-primary);
  color: #fff;
}

.workspace-card {
  isolation: isolate;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.workspace-card:active {
  opacity: .9;
  transform: scale(.98);
}

.workspace-card:hover {
  border-color: var(--accent-primary);
  background: #ffffff0d;
  transform: translateY(-8px)scale(1.02);
  box-shadow: 0 20px 40px #00000040;
}

.workspace-card:hover .card-glow {
  opacity: .6;
}

.card-glow {
  background: radial-gradient(circle at 50% 0%, var(--accent-primary), transparent 70%);
  opacity: .1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: opacity .4s;
  position: absolute;
  top: 0;
  left: 0;
}

.stretched-link:after {
  z-index: 1;
  content: "";
  position: absolute;
  inset: 0;
}

.workspace-menu {
  z-index: 10;
  position: relative;
}

.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  z-index: 1000;
  border-radius: 12px;
  min-width: 180px;
  position: absolute;
  top: 40px;
  right: 0;
  overflow: hidden;
  box-shadow: 0 10px 40px #00000040;
}

.dropdown-item {
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  display: flex;
}

.dropdown-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.dropdown-item.text-danger {
  color: var(--accent-danger);
}

.dropdown-item.text-danger:hover {
  background: #ef444414;
}

.header-actions {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.mobile-only {
  display: none;
}

.spinner {
  border: 3px solid var(--bg-input);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 2rem auto;
  animation: .8s linear infinite spin;
}

@media (max-width: 1024px) {
  .sidebar {
    z-index: 1000;
    transition: left .3s cubic-bezier(.4, 0, .2, 1);
    position: fixed;
    left: -260px;
    box-shadow: 20px 0 50px #0000004d;
  }

  .sidebar.open {
    left: 0;
  }

  .main-content {
    width: 100%;
  }

  .top-header {
    padding: 0 1rem;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .content-wrapper {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .top-header {
    height: 70px;
  }

  .page-title {
    font-size: 1.1rem;
  }

  .auth-card {
    border-radius: 20px;
    margin: 20px;
    padding: 32px 24px;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 24px;
  }
}

nextjs-portal {
  display: none !important;
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/