/**
 * style.css
 * Design system: tokens, layout, theme, global styles.
 * Dark theme (Navy + Orange) as default.
 */

/* ─── Google Fonts ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────────── */
:root {
  /* Colors — Dark Theme (Default) */
  --color-bg-primary:    #0a0f1a;
  --color-bg-secondary:  #111827;
  --color-bg-tertiary:   #1e293b;
  --color-bg-quaternary: #263148;
  --color-surface-glass: rgba(30, 41, 59, 0.75);

  --color-accent:        #f97316;
  --color-accent-hover:  #fb923c;
  --color-accent-subtle: rgba(249, 115, 22, 0.12);

  --color-text-primary:   #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-tertiary:  #64748b;
  --color-text-inverse:   #0f172a;

  --color-border:        #334155;
  --color-border-hover:  #475569;
  --color-border-focus:  #f97316;

  /* Status Colors */
  --color-status-good:      #22c55e;
  --color-status-good-bg:   rgba(34, 197, 94, 0.12);
  --color-status-warning:   #eab308;
  --color-status-warning-bg:rgba(234, 179, 8, 0.12);
  --color-status-danger:    #ef4444;
  --color-status-danger-bg: rgba(239, 68, 68, 0.12);
  --color-status-unchecked:    #6b7280;
  --color-status-unchecked-bg: rgba(107, 114, 128, 0.12);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-lg:   1.125rem;
  --font-size-xl:   1.25rem;
  --font-size-2xl:  1.5rem;
  --font-size-3xl:  1.875rem;
  --font-size-4xl:  2.25rem;
  --line-height:    1.5;
  --line-height-tight: 1.2;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg:  0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-xl:  0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.2);

  /* Transitions */
  --transition-fast:   150ms ease-in-out;
  --transition-base:   250ms ease-in-out;
  --transition-slow:   350ms ease-in-out;
  --transition-bounce: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --sidebar-width: 260px;
  --header-height: auto;
  --content-max-width: 900px;
}

/* ─── Light Theme Variables ─────────────────────────────────────────── */
body.light-theme {
  --color-bg-primary:    #f8fafc;
  --color-bg-secondary:  #ffffff;
  --color-bg-tertiary:   #f1f5f9;
  --color-bg-quaternary: #e2e8f0;
  --color-surface-glass: rgba(255, 255, 255, 0.85);

  --color-text-primary:   #0f172a;
  --color-text-secondary: #475569;
  --color-text-tertiary:  #64748b;
  --color-text-inverse:   #ffffff;

  --color-border:        #e2e8f0;
  --color-border-hover:  #cbd5e1;
  --color-border-focus:  #f97316;

  /* Keep status colors same, but adjust backgrounds */
  --color-status-good-bg:   rgba(34, 197, 94, 0.15);
  --color-status-warning-bg:rgba(234, 179, 8, 0.15);
  --color-status-danger-bg: rgba(239, 68, 68, 0.15);
  --color-status-unchecked-bg: rgba(107, 114, 128, 0.15);
}

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

/* ─── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-border-hover);
}

/* ─── Utilities ─────────────────────────────────────────────────────── */
.hidden { display: none !important; }

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

.separator {
  color: var(--color-text-tertiary);
  margin: 0 var(--space-2);
}

.inline-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  display: inline;
}

.required {
  color: var(--color-status-danger);
}

/* ─── Animations ────────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

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

.shake { animation: shake 0.5s ease-in-out; }
.spin { animation: spin 1s linear infinite; }

/* ═══════════════════════════════════════════════════════════════════════
   LOGIN VIEW
   ═══════════════════════════════════════════════════════════════════════ */

#login-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    var(--color-bg-primary);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.4s var(--transition-bounce);
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.login-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
}

.login-logo h1 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-align: center;
  color: var(--color-text-primary);
}

.login-logo p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}

.login-form-group {
  margin-bottom: var(--space-5);
}

.login-form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.login-input-wrapper {
  position: relative;
}

.login-input-wrapper input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  padding-right: 44px;
  font-size: var(--font-size-base);
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.login-input-wrapper input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.login-input-wrapper .input-icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.login-input-wrapper input {
  padding-left: 40px;
}

.toggle-password-btn {
  position: absolute;
  right: var(--space-2);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-tertiary);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.toggle-password-btn:hover {
  color: var(--color-text-primary);
}

.login-error {
  font-size: var(--font-size-sm);
  color: var(--color-status-danger);
  min-height: 20px;
  margin-bottom: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.login-error.visible {
  opacity: 1;
}

.login-btn {
  width: 100%;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: 600;
  font-family: var(--font-sans);
  color: white;
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  min-height: 44px;
}

.login-btn:hover {
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

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

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

/* ═══════════════════════════════════════════════════════════════════════
   APP LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */

#app-view {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ───────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--color-bg-secondary);
  border-right: 1px solid var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base);
}

.sidebar-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.sidebar-brand {
  flex: 1;
  min-width: 0;
}

.sidebar-brand h2 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-brand p {
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
}

.sidebar-nav {
  flex: 1;
  padding: var(--space-4) 0;
}

.sidebar-section-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-3) var(--space-6) var(--space-2);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  color: var(--color-text-primary);
  background: var(--color-accent-subtle);
  border-left-color: var(--color-accent);
}

.sidebar-link.active {
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  border-left-color: var(--color-accent);
}

.sidebar-link i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ─── Main Content ──────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: var(--space-8);
  max-width: calc(var(--content-max-width) + var(--sidebar-width) + var(--space-16));
}

/* ─── Workshop Header Bar ───────────────────────────────────────────── */
.workshop-header {
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  animation: slideUp 0.4s ease-out;
}

.workshop-header .header-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.workshop-header-text h1 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.workshop-header-text p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── Section Cards ─────────────────────────────────────────────────── */
.section-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  animation: slideUp 0.4s ease-out;
  animation-fill-mode: backwards;
}

.section-card:nth-child(2) { animation-delay: 0.05s; }
.section-card:nth-child(3) { animation-delay: 0.1s; }
.section-card:nth-child(4) { animation-delay: 0.15s; }

.section-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-title i {
  color: var(--color-accent);
  width: 22px;
  height: 22px;
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
  white-space: nowrap;
}

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

.btn i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

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

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
}

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

.btn-danger {
  color: white;
  background: var(--color-status-danger);
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-ghost {
  color: var(--color-text-secondary);
  background: transparent;
}

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

/* ─── Footer Actions Bar ────────────────────────────────────────────── */
.footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.footer-actions-left {
  display: flex;
  gap: var(--space-3);
}

.footer-actions-right {
  display: flex;
  gap: var(--space-3);
}

/* ─── Toast Notification ────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

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

.toast i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.toast-good    { background: var(--color-status-good); }
.toast-warning { background: var(--color-status-warning); color: var(--color-text-inverse); }
.toast-danger  { background: var(--color-status-danger); }
.toast-info    { background: #3b82f6; }

/* ─── Modal / Lightbox Overlay ──────────────────────────────────────── */
.modal-overlay,
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--transition-base);
  padding: var(--space-4);
}

.modal-visible,
.lightbox-visible {
  opacity: 1;
}

.modal-content {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 400px;
  width: 100%;
  animation: scaleIn 0.2s ease-out;
}

.modal-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.modal-message {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--line-height);
}

.modal-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* ─── Lightbox ──────────────────────────────────────────────────────── */
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  animation: scaleIn 0.2s ease-out;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-status-danger);
}

.lightbox-title {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-3);
}

/* ─── Mobile Sidebar Toggle Button ──────────────────────────────────── */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 200;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: var(--radius-lg);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* ─── Progress Bar ──────────────────────────────────────────────────── */
.progress-container {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
  animation: slideUp 0.4s ease-out;
  position: sticky;
  top: var(--space-4);
  z-index: 50;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.progress-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

.progress-text {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #ea580c);
  border-radius: var(--radius-full);
  transition: width 0.3s ease-out;
}

/* ─── Preview Modal ─────────────────────────────────────────────────── */
.preview-modal-content {
  max-width: 800px;
  width: 95%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.modal-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body.preview-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
  background: var(--color-bg-tertiary);
}

#preview-pdf-container {
  background: white;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  /* The .pdf-document class will handle the padding and layout inside */
}

.modal-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

/* Tablet & below */
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.sidebar-open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .sidebar-toggle {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding: var(--space-6);
    padding-top: calc(var(--space-16) + var(--space-4));
  }
}

/* Mobile */
@media (max-width: 639px) {
  .main-content {
    padding: var(--space-4);
    padding-top: calc(var(--space-16) + var(--space-4));
  }

  .workshop-header {
    flex-direction: column;
    text-align: center;
    padding: var(--space-4);
  }

  .section-card {
    padding: var(--space-4);
  }

  .footer-actions {
    flex-direction: column;
  }

  .footer-actions-left,
  .footer-actions-right {
    width: 100%;
  }

  .footer-actions .btn {
    flex: 1;
  }

  .login-card {
    padding: var(--space-6);
  }

  .toast {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
  }
}
