:root{
  /* Color palette */
  --teal:#129d9c; /* header */
  --teal-600:#0e8080;
  --teal-200:#bfe6e6;
  --bg:#f5f7f8;
  --card:#ffffff;
  --muted:#6b7280;
  --border:#e5e7eb;
  --accent:#e2f6f6;
  --danger:#b91c1c;
  --success:#2e7d32;
  --warning:#f59e0b;
  --info:#3b82f6;
  
  /* Text colors */
  --text-primary:#111827;
  --text-secondary:#374151;
  --text-muted:#6b7280;
  --text-light:#9ca3af;
  
  /* Spacing system */
  --space-xs: 4px;
  --space-sm: 6px;
  --space-md: 8px;
  --space-lg: 12px;
  --space-xl: 16px;
  --space-2xl: 20px;
  --space-3xl: 24px;
  --space-4xl: 32px;
  
  /* Typography */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 16px;
  --radius-full: 999px;
  
  /* Shadow system */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-xl: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  
  /* Job status colors */
  --status-active: var(--success);
  --status-paused: var(--warning);
  --status-closed: var(--muted);
  --status-unknown: var(--border);
  
  /* Layout */
  --login-offset: 120px; /* fester Abstand Login-Box vom oberen Rand */
}
*{box-sizing:border-box}
html,body{height:100%;overflow-x:hidden;}
body.cc-body{margin:0;background:var(--bg);color:var(--text-primary);font:var(--text-sm)/1.4 "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;position:relative}

/* Globale Quicksand-Schriftart für alle Input-Elemente und WYSIWYG-Editoren */

/* Topbar */
/* Header styles moved to /modules/header.css for isolation */
.cc-topbar{background:linear-gradient(0deg,var(--teal) 0%, var(--teal-600) 100%);color:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:1000;transition:padding 0.3s ease,box-shadow 0.3s ease;width:100%;left:0;right:0;padding:var(--space-lg) 0}
/* Moved to header module */
.cc-topbar-container{display:flex;align-items:center;gap:var(--space-3xl);max-width:1560px;width:100%;margin:0 auto;padding:0 var(--space-2xl)}
.cc-topbar.scrolled{padding:var(--space-sm) 0;box-shadow:var(--shadow-lg)}

/* Fallback für ältere Browser */
@supports not (position: sticky) {
  .cc-topbar{position:fixed;top:0;left:0;right:0}
  body.cc-body{padding-top:58px}
}
.cc-brand{font-weight:800;letter-spacing:.5px}
.cc-brand span{opacity:.9}
.cc-topnav{display:flex;gap:var(--space-lg);flex:1;justify-content:center}
.cc-topnav a{color:#e7fffe;opacity:.9;text-decoration:none;padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);display:flex;align-items:center;gap:var(--space-sm)}
.cc-topnav a .material-icons-outlined{font-size:20px}
.cc-topnav a.active,.cc-topnav a:hover{background:rgba(255,255,255,.12)}
.cc-user{position:relative;display:flex;align-items:center;gap:var(--space-lg)}

/* User dropdown trigger */
.cc-user-trigger{display:flex;align-items:center;gap:var(--space-md);cursor:pointer;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);transition:background-color 0.2s ease;user-select:none}
.cc-user-trigger:hover,.cc-user-trigger:focus{background:rgba(255,255,255,.12);outline:none}
.cc-user-trigger:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}

.cc-dropdown-arrow{font-size:18px !important;transition:transform 0.2s ease;color:rgba(255,255,255,.8)}

/* User dropdown menu */
.cc-user-dropdown{position:absolute;top:calc(100% + var(--space-sm));right:0;min-width:220px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);padding:var(--space-sm);z-index:1001;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity 0.2s ease,visibility 0.2s ease,transform 0.2s ease}

.cc-user-dropdown.cc-dropdown-open{opacity:1;visibility:visible;transform:translateY(0)}

.cc-user-dropdown-item{display:flex;align-items:center;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);color:var(--text-secondary);text-decoration:none;transition:background-color 0.2s ease;border:none;background:none;font:inherit;cursor:pointer;width:100%;text-align:left}

.cc-user-dropdown-item:hover,.cc-user-dropdown-item:focus{background:var(--accent);outline:none}

.cc-user-dropdown-item:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}

.cc-user-dropdown-item .material-icons-outlined{font-size:18px;color:var(--text-muted);flex-shrink:0}

.cc-user-dropdown-divider{border:none;border-top:1px solid var(--border);margin:var(--space-sm) 0}

.cc-logout-item{color:var(--danger) !important}
.cc-logout-item .material-icons-outlined{color:var(--danger) !important}

/* Mobile Navigation Toggle */
.cc-mobile-menu-toggle{display:none;background:none;border:none;color:#fff;cursor:pointer;padding:var(--space-md);border-radius:var(--radius-md);transition:background-color 0.2s ease}
.cc-mobile-menu-toggle:hover{background:rgba(255,255,255,.12)}
.cc-mobile-menu-toggle .material-icons-outlined{font-size:24px}

/* Responsive Design */
/* Removed: was causing column layout too early */

/* Removed: was also causing column layout too early */

@media (max-width: 640px) {
  .cc-topbar-container{
    gap:0;
    padding:0 var(--space-lg);
    justify-content:space-between;
    align-items:center;
    position:relative;
  }
  
  .cc-brand{
    order:1;
    flex:0 0 auto;
  }
  
  .cc-brand img{max-width:100px;height:24px}
  
  .cc-mobile-menu-toggle{
    display:block;
    order:2;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
  }
  
  .cc-user{
    order:3;
    flex:0 0 auto;
  }
  
  .cc-user-trigger span:not(.material-icons-outlined):not(.cc-avatar-initials){display:none}
  
  .cc-topnav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--teal-600);
    flex-direction:column;
    gap:0;
    border-top:1px solid rgba(255,255,255,.1);
    box-shadow:var(--shadow-lg);
    order:4;
    width:100%;
  }
  
  .cc-topnav.cc-mobile-open{display:flex}
  
  .cc-topnav a{
    padding:var(--space-lg);
    border-radius:0;
    border-bottom:1px solid rgba(255,255,255,.1);
    display:flex;
    align-items:center;
    gap:var(--space-md);
    font-size:var(--text-base);
  }
  
  .cc-topnav a .material-icons-outlined{
    font-size:20px;
    margin-right:0;
    flex-shrink:0;
  }
  
  .cc-topnav a:last-child{border-bottom:none}
}

@media (max-width: 480px) {
  .cc-topbar-container{
    padding:0 var(--space-md);
    gap:0;
    justify-content:space-between;
  }
  
  .cc-brand img{
    max-width:80px;
    height:20px;
  }
  
  .cc-user-dropdown{
    right:-var(--space-md);
    min-width:200px;
  }
  
  .cc-topnav a{
    font-size:var(--text-sm);
  }
  
  /* Extra small screen optimizations */
  .cc-form-actions{
    flex-direction:column;
  }
  
  .cc-form-actions .cc-btn{
    width:100%;
  }
  
  .cc-tiles{
    grid-template-columns:1fr;
  }
  
  /* Mobile product cards handled by new responsive design */
  
  /* Better touch targets */
  .cc-sidebar-link,
  .cc-user-dropdown-item{
    min-height:48px;
    padding:var(--space-lg);
  }
}

.cc-avatar-sm{width:28px;height:28px;border-radius:999px;border:1px solid rgba(255,255,255,.6);object-fit:cover;background:#e5e7eb}
.cc-avatar-initials{width:28px;height:28px;border-radius:999px;border:1px solid rgba(255,255,255,.6);display:grid;place-items:center;background:#94a3b8;color:#fff;font-weight:700;font-size:12px}

/* Layout - Mobile First Responsive */
.cc-main{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-lg);
  max-width:1560px;
  width:100%;
  margin:var(--space-lg) auto;
  padding:0 var(--space-lg);
  min-height:calc(100vh - 120px);
}

/* Desktop layout with sidebar */
@media (min-width: 1024px) {
  .cc-main{
    grid-template-columns:280px 1fr;
    gap:var(--space-3xl);
    margin:var(--space-2xl) auto;
    padding:0 var(--space-2xl);
  }
}

/* Dashboard layout has no sidebar on all devices */
.cc-dashboard{
  grid-template-columns:1fr !important;
}

/* Sidebar - Mobile First */
.cc-sidebar{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:var(--space-lg);
  order:2;
}

/* Content area comes first on mobile */
.cc-content{
  min-height:60vh;
  order:1;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

/* Desktop sidebar behavior */
@media (min-width: 1024px) {
  .cc-sidebar{
    position:sticky;
    top:68px;
    align-self:start;
    height:fit-content;
    max-height:calc(100vh - 88px);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(0,0,0,0.2) transparent;
    transition:top 0.3s ease,max-height 0.3s ease;
    padding:var(--space-xl);
    order:1;
  }
  
  .cc-content{
    order:2;
  }
  
  body.header-scrolled .cc-sidebar{
    top:60px;
    max-height:calc(100vh - 80px);
  }
  
  .cc-sidebar::-webkit-scrollbar{width:4px}
  .cc-sidebar::-webkit-scrollbar-track{background:transparent}
  .cc-sidebar::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.2);border-radius:2px}
  .cc-sidebar::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.3)}
}

body.header-scrolled .cc-sticky-side{top:60px}

/* Sidebar mobile toggle */
@media (max-width: 1023px) {
  .cc-sidebar{
    display:none;
  }
  
  .cc-sidebar.cc-sidebar-open{
    display:block;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:2000;
    background:rgba(0,0,0,0.8);
    padding:0;
    border:none;
    border-radius:0;
  }
  
  .cc-sidebar.cc-sidebar-open .cc-sidebar-content{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:320px;
    max-width:80vw;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:0 var(--radius-lg) var(--radius-lg) 0;
    padding:var(--space-xl);
    overflow-y:auto;
    transform:translateX(0);
    transition:transform 0.3s ease;
  }
  
  .cc-sidebar-backdrop{
    position:absolute;
    top:0;
    left:320px;
    right:0;
    bottom:0;
    background:transparent;
  }
}

.cc-sidebar-title{
  display:flex;
  align-items:center;
  gap:var(--space-md);
  font-weight:600;
  font-size:var(--text-lg);
  margin:var(--space-md) 0 var(--space-xl);
  color:var(--text-primary);
  padding:var(--space-md);
  background:var(--accent);
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
}
.cc-sidebar-title .material-icons-outlined{
  font-size:20px;
  color:var(--teal);
}

.cc-sidebar-link{
  display:flex;
  align-items:center;
  gap:var(--space-md);
  padding:var(--space-md) var(--space-lg);
  border-radius:var(--radius-md);
  color:var(--text-secondary);
  text-decoration:none;
  transition:background-color 0.2s ease;
}

.cc-sidebar-link.active,
.cc-sidebar-link:hover{
  background:var(--accent);
}

.cc-sidebar-link .material-icons-outlined{
  font-size:18px;
  line-height:1;
  color:var(--text-muted);
}

/* Mobile sidebar toggle button */
.cc-sidebar-toggle{
  display:none;
  position:fixed;
  top:50%;
  left:20px;
  transform:translateY(-50%);
  z-index:1500;
  background:var(--teal);
  color:white;
  border:none;
  border-radius:50%;
  width:48px;
  height:48px;
  box-shadow:var(--shadow-lg);
  cursor:pointer;
  transition:all 0.3s ease;
}

@media (max-width: 1023px) {
  .cc-sidebar-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  .cc-sidebar-toggle:hover{
    background:var(--teal-600);
    transform:translateY(-50%) scale(1.05);
  }
  
  .cc-sidebar-toggle .material-icons-outlined{
    font-size:24px;
  }
}
/* Card system - responsive */
.cc-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:var(--space-xl);
  box-shadow:var(--shadow-sm);
  transition:box-shadow 0.2s ease;
  min-width:0;
  overflow:hidden;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.cc-card:hover{
  box-shadow:var(--shadow-md);
}

/* Ensure consistent width across all content */
.cc-content{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.cc-content > *{
  max-width:100%;
  box-sizing:border-box;
}
.cc-card h1{margin:0 0 var(--space-md);font-size:var(--text-2xl);font-weight:700;color:var(--text-primary)}
.cc-card h2{margin:0 0 var(--space-md);font-size:var(--text-xl);font-weight:600;color:var(--text-secondary)}
.cc-hint{color:var(--text-muted);margin-top:calc(var(--space-xs) * -1);font-size:var(--text-sm)}
/* Inline link style matching design */
.cc-link{color:var(--teal-600);text-decoration:none;border-bottom:1px solid rgba(18,157,156,.25);padding-bottom:1px}
.cc-link:hover{color:#0b6b6a;border-bottom-color:rgba(18,157,156,.5)}

/* TinyMCE Editor styles */
.tinymce-editor{
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  position: relative;
}

.tinymce-editor:focus-within{
  border-color: var(--teal);
  outline: 2px solid var(--teal-200);
  outline-offset: -1px;
}

.tox .tox-editor-header{
  border-bottom: 1px solid var(--border);
}

.tox .tox-toolbar{
  background: var(--bg);
}

.tox .tox-edit-area{
  background: var(--card);
}

/* Error states for form fields */
.cc-error-field {
  border-color: var(--danger) !important;
  outline: 2px solid rgba(185, 28, 28, 0.2) !important;
  outline-offset: -1px;
}

.cc-error-field:focus {
  outline: 2px solid rgba(185, 28, 28, 0.4) !important;
}

.tinymce-editor.cc-error-field {
  border-color: var(--danger);
  outline: 2px solid rgba(185, 28, 28, 0.2);
}

.cc-error {
  color: var(--danger);
  font-size: var(--text-xs);
  margin-top: var(--space-sm);
  display: none;
}

.cc-error:not(:empty) {
  display: block;
}

/* Checkbox Group Styles */
.cc-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cc-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  user-select: none;
}

.cc-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.cc-checkbox-mark {
  height: 18px;
  width: 18px;
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cc-checkbox:hover .cc-checkbox-mark {
  border-color: var(--teal);
}

.cc-checkbox input[type="checkbox"]:checked ~ .cc-checkbox-mark {
  background-color: var(--teal);
  border-color: var(--teal);
}

.cc-checkbox input[type="checkbox"]:checked ~ .cc-checkbox-mark:after {
  content: "";
  position: absolute;
  display: block;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cc-checkbox input[type="checkbox"]:focus ~ .cc-checkbox-mark {
  outline: 2px solid var(--teal-200);
  outline-offset: 2px;
}

/* Main layout with AI sidebar - Override existing main layout */
.cc-main.cc-main-with-ai {
  display: grid !important;
  grid-template-columns: 280px 1fr 260px !important;
  grid-template-areas: "sidebar content ai-sidebar" !important;
  gap: 0 !important;
  min-height: calc(100vh - 58px) !important;
  max-width: 1560px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 var(--space-2xl) !important;
  box-sizing: border-box !important;
}

/* For very wide screens (1920px+) */
@media (min-width: 1600px) {
  .cc-main.cc-main-with-ai {
    grid-template-columns: 260px 1fr 260px !important;
    max-width: 1600px !important;
    padding: 0 var(--space-4xl) !important;
  }
}

/* Grid area assignments for 3-column layout */
.cc-main-with-ai #cc-sidebar {
  grid-area: sidebar !important;
  order: 1 !important;
  position: sticky !important;
  top: 68px !important;
  align-self: start !important;
  height: fit-content !important;
  max-height: calc(100vh - 88px) !important;
  width: 100% !important;
  min-width: 280px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0,0,0,0.2) transparent !important;
  transition: top 0.3s ease, max-height 0.3s ease !important;
  padding: var(--space-xl) !important;
}

.cc-main-with-ai .cc-content {
  grid-area: content !important;
  order: 2 !important;
  max-width: none !important;
  padding: var(--space-2xl) var(--space-xl) !important;
  justify-self: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cc-main-with-ai .cc-ai-sidebar {
  grid-area: ai-sidebar !important;
  order: 3 !important;
}

/* AI Sidebar Styles */
.cc-ai-sidebar {
  background: var(--card) !important;
  border-left: 1px solid var(--border) !important;
  display: flex !important;
  flex-direction: column !important;
  height: fit-content !important;
  max-height: calc(100vh - 88px) !important;
  overflow-y: auto !important;
  position: sticky !important;
  top: 68px !important;
  align-self: start !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  min-width: 260px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0,0,0,0.2) transparent !important;
  margin-top: var(--space-2xl) !important;
}

.cc-ai-sidebar.hidden {
  display: none !important;
}

/* AI Avatar (minimized state) */
.cc-ai-avatar {
  display: none !important;
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, var(--teal) 0%, var(--accent) 100%) !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 8px 32px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  z-index: 1000 !important;
  color: white !important;
  font-size: 24px !important;
  align-items: center !important;
  justify-content: center !important;
}

.cc-ai-avatar:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2), 0 12px 40px rgba(0,0,0,0.15) !important;
}

.cc-ai-avatar.visible {
  display: flex !important;
}

.cc-ai-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--teal-200) 0%, var(--accent) 100%);
}

.cc-ai-sidebar-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cc-ai-sidebar-title .material-icons-outlined {
  color: var(--teal);
  font-size: 24px;
}

.cc-ai-sidebar-title h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--teal-600);
}

.cc-ai-sidebar-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.cc-ai-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--teal);
}

.cc-ai-sidebar-content {
  flex: 1;
  padding: var(--space-xl);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.cc-ai-intro p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.inline-icon {
  font-size: 16px !important;
  vertical-align: middle;
  color: var(--teal);
}

.cc-ai-quick-actions h4,
.cc-ai-suggestions h4,
.cc-ai-activity h4,
.cc-ai-results h4 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cc-ai-quick-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cc-ai-suggestion-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cc-ai-suggestion {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--accent);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}

.cc-ai-suggestion .material-icons-outlined {
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cc-ai-suggestion div {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* AI Button Styles */
.cc-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cc-ai-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cc-ai-btn:hover::before {
  opacity: 1;
}

.cc-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  border-color: transparent;
}

.cc-ai-btn .material-icons-outlined,
.cc-ai-btn span {
  position: relative;
  z-index: 1;
}

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

.cc-ai-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.cc-ai-btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.cc-ai-btn-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
}

.cc-ai-btn .material-icons-outlined {
  font-size: 16px;
}

.cc-ai-btn-full {
  width: 100%;
  justify-content: flex-start;
}

/* AI Results */
.cc-ai-result {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  animation: slideIn 0.3s ease;
}

.cc-ai-result-success {
  background: #e8f5e8;
  border-left: 3px solid var(--success);
}

.cc-ai-result-error {
  background: #fdeaea;
  border-left: 3px solid var(--danger);
}

.cc-ai-result-info {
  background: var(--accent);
  border-left: 3px solid var(--info);
}

.cc-ai-result-icon .material-icons-outlined {
  font-size: 18px;
  margin-top: 1px;
}

.cc-ai-result-success .material-icons-outlined {
  color: var(--success);
}

.cc-ai-result-error .material-icons-outlined {
  color: var(--danger);
}

.cc-ai-result-info .material-icons-outlined {
  color: var(--info);
}

.cc-ai-result-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

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

/* Field with AI Actions */
.cc-field-with-ai .cc-field-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.cc-ai-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Input with AI Button */
.cc-ai-btn-square::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cc-ai-btn-square:hover::before {
  opacity: 1;
}

.cc-ai-btn-square .material-icons-outlined {
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.cc-ai-btn-square:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  border-color: transparent;
}

/* AI Status */
.cc-ai-status {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
}

.cc-ai-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
  .cc-main.cc-main-with-ai {
    grid-template-columns: 220px 1fr 220px !important;
    max-width: 1200px !important;
    padding: 0 var(--space-xl) !important;
  }
  
  .cc-main-with-ai .cc-content {
    padding: var(--space-xl) var(--space-lg) !important;
  }
}

/* Tablet responsive breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
  .cc-main.cc-main-with-ai {
    grid-template-columns: 240px 1fr 240px !important;
    max-width: 1200px !important;
    padding: 0 var(--space-lg) !important;
    gap: var(--space-lg) !important;
  }
  
  .cc-main-with-ai #cc-sidebar {
    min-width: 240px !important;
    padding: var(--space-lg) !important;
  }
  
  .cc-main-with-ai .cc-content {
    padding: var(--space-lg) !important;
  }
  
  .cc-ai-sidebar {
    min-width: 240px !important;
  }
  
  .cc-ai-sidebar-content {
    padding: var(--space-lg) !important;
  }
}

/* Mobile responsive breakpoint */
@media (max-width: 768px) {
  .cc-main.cc-main-with-ai {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    padding: 0 var(--space-md) !important;
    gap: 0 !important;
  }
  
  .cc-main-with-ai #cc-sidebar {
    display: none !important;
  }
  
  .cc-main-with-ai .cc-content {
    order: 1 !important;
    width: 100% !important;
    padding: var(--space-md) !important;
  }
  
  .cc-ai-sidebar {
    position: fixed !important;
    top: 58px !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    z-index: 1001 !important;
    box-shadow: var(--shadow-2xl) !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    margin-top: 0 !important;
  }
  
  .cc-ai-sidebar:not(.hidden) {
    transform: translateX(0) !important;
  }
  
  .cc-ai-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--space-sm) !important;
  }
  
  .cc-field-header {
    flex-direction: column !important;
    gap: var(--space-md) !important;
    align-items: flex-start !important;
  }
  
  .cc-input-with-ai {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
  }
  
  .cc-input-with-ai .cc-ai-btn {
    position: static !important;
    transform: none !important;
    align-self: flex-start !important;
    width: auto !important;
  }
  
  /* Mobile form adjustments */
  .cc-form-row.cc-quadruple,
  .cc-form-row.cc-triple,
  .cc-form-row.cc-double {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }
}

/* Small mobile responsive breakpoint */
@media (max-width: 480px) {
  .cc-main.cc-main-with-ai {
    padding: 0 var(--space-sm) !important;
  }
  
  .cc-main-with-ai .cc-content {
    padding: var(--space-sm) !important;
  }
  
  .cc-ai-sidebar {
    max-width: 100% !important;
    top: 58px !important;
  }
  
  .cc-ai-sidebar-content {
    padding: var(--space-md) !important;
  }
  
  /* Make AI avatar more visible on small screens */
  .cc-ai-avatar {
    bottom: 16px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
  }
}

/* Enhanced Form System */
.cc-form-grid h2{margin-top:var(--space-xl);margin-bottom:var(--space-sm)}
.cc-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:var(--space-lg);min-width:0}

/* Form Sections */
.cc-form-section{
  margin-bottom:var(--space-2xl);
  padding-bottom:var(--space-xl);
  border-bottom:1px solid #f3f4f6;
}
.cc-form-section:last-of-type{
  border-bottom:none;
  margin-bottom:var(--space-xl);
}
.cc-form-section h3{
  margin:0 0 var(--space-xl);
  font-size:var(--text-base);
  font-weight:600;
  color:var(--text-secondary);
  display:flex;
  align-items:center;
  gap:var(--space-md);
}
.cc-form-section h3::before{
  content:'';
  width:3px;
  height:20px;
  background:var(--teal);
  border-radius:2px;
  flex-shrink:0;
}

/* Form Grid System - Perfekte Ausrichtung */
.cc-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-2xl);
  align-items:start;
  margin-bottom:var(--space-xl);
}
.cc-form-row.cc-single{grid-template-columns:1fr}
.cc-form-row.cc-triple{grid-template-columns:1fr 1fr 1fr}
.cc-form-row.cc-quadruple{grid-template-columns:1fr 1fr 1fr 1fr}
.cc-form-row.cc-quad{grid-template-columns:1fr 1fr 1fr 1fr}

/* Field Container - Konsistente Höhen */
.cc-field{
  display:flex;
  flex-direction:column;
  min-height:76px; /* Konsistente Mindesthöhe für Alignment */
}

/* Label Styling - Einheitliche Höhe und perfekte Ausrichtung */
.cc-field label{
  display:flex;
  align-items:center;
  gap:var(--space-sm);
  font-size:var(--text-sm);
  color:var(--text-secondary);
  font-weight:600;
  margin-bottom:var(--space-md);
}
.cc-field label .material-icons-outlined{
  font-size:18px;
  color:var(--teal);
}
}

/* Input & Select - Perfekte Ausrichtung */
.cc-field input,
.cc-field select,

/* Perfect Form Field Alignment for ALL Grid Structures */

/* Target ALL cc-form-row variants with multiple columns */
.cc-form-row:not(.cc-single) > .cc-field,
.cc-form-row[style*="grid-template-columns"] > .cc-field {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 76px !important;
}

.cc-form-row:not(.cc-single) > .cc-field label,
.cc-form-row[style*="grid-template-columns"] > .cc-field label {
  min-height: 20px !important;
  max-height: 20px !important;
  margin-bottom: var(--space-sm) !important;
  display: flex !important;
  align-items: flex-end !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cc-form-row:not(.cc-single) > .cc-field input,
.cc-form-row:not(.cc-single) > .cc-field select,
.cc-form-row:not(.cc-single) > .cc-field textarea,
.cc-form-row[style*="grid-template-columns"] > .cc-field input,
.cc-form-row[style*="grid-template-columns"] > .cc-field select,
.cc-form-row[style*="grid-template-columns"] > .cc-field textarea {
  margin-top: auto !important;
  flex-shrink: 0 !important;
  height: 44px !important;
}

.cc-form-row:not(.cc-single),
.cc-form-row[style*="grid-template-columns"] {
  align-items: flex-end !important;
}

/* Nested structures */
.cc-form-row:not(.cc-single) .cc-form-row .cc-field,
.cc-form-row[style*="grid-template-columns"] .cc-form-row .cc-field {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 76px !important;
}

.cc-form-row:not(.cc-single) .cc-form-row .cc-field label,
.cc-form-row[style*="grid-template-columns"] .cc-form-row .cc-field label {
  min-height: 20px !important;
  max-height: 20px !important;
  margin-bottom: var(--space-sm) !important;
  display: flex !important;
  align-items: flex-end !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cc-form-row:not(.cc-single) .cc-form-row .cc-field input,
.cc-form-row:not(.cc-single) .cc-form-row .cc-field select,
.cc-form-row:not(.cc-single) .cc-form-row .cc-field textarea,
.cc-form-row[style*="grid-template-columns"] .cc-form-row .cc-field input,
.cc-form-row[style*="grid-template-columns"] .cc-form-row .cc-field select,
.cc-form-row[style*="grid-template-columns"] .cc-form-row .cc-field textarea {
  margin-top: auto !important;
  flex-shrink: 0 !important;
  height: 44px !important;
}

.cc-form-row:not(.cc-single) .cc-form-row,
.cc-form-row[style*="grid-template-columns"] .cc-form-row {
  align-items: flex-end !important;
  margin-top: 0 !important;
}

/* Special handling for textarea to maintain auto height */
.cc-form-row:not(.cc-single) > .cc-field textarea,
.cc-form-row[style*="grid-template-columns"] > .cc-field textarea {
  height: auto !important;
  min-height: 44px !important;
}

/* CC-GRID structures with form fields */
.cc-grid[style*="grid-template-columns"] > .cc-field {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 76px !important;
}

.cc-grid[style*="grid-template-columns"] > .cc-field label {
  min-height: 20px !important;
  max-height: 20px !important;
  margin-bottom: var(--space-sm) !important;
  display: flex !important;
  align-items: flex-end !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cc-grid[style*="grid-template-columns"] > .cc-field input,
.cc-grid[style*="grid-template-columns"] > .cc-field select,
.cc-grid[style*="grid-template-columns"] > .cc-field textarea {
  margin-top: auto !important;
  flex-shrink: 0 !important;
  height: 44px !important;
}

.cc-grid[style*="grid-template-columns"] > .cc-field textarea {
  height: auto !important;
  min-height: 44px !important;
}

/* Alternative to :has() - target common grid structures with fields */
.cc-grid[style*="grid-template-columns"] {
  align-items: flex-end !important;
}

/* CC-TWO-COL and other grid structures with form fields */
.cc-two-col > .cc-field {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 76px !important;
}

.cc-two-col > .cc-field label {
  min-height: 20px !important;
  max-height: 20px !important;
  margin-bottom: var(--space-sm) !important;
  display: flex !important;
  align-items: flex-end !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cc-two-col > .cc-field input,
.cc-two-col > .cc-field select,
.cc-two-col > .cc-field textarea {
  margin-top: auto !important;
  flex-shrink: 0 !important;
  height: 44px !important;
}

.cc-two-col > .cc-field textarea {
  height: auto !important;
  min-height: 44px !important;
}

.cc-two-col {
  align-items: flex-end !important;
}

/* Custom Select Styling wird jetzt von form-components.css übernommen */

/* Custom Select Options Styling */
.cc-field select option {
  background: var(--card);
  color: var(--text-primary);
  padding: var(--space-lg);
  font-size: var(--text-sm);
  font-family: inherit;
  border-radius: var(--radius-md);
  margin: 2px 0;
}

.cc-field select option:hover,
.cc-field select option:focus {
  background: var(--accent);
  color: var(--text-primary);
}

.cc-field select option:checked {
  background: var(--teal);
  color: white;
}

.cc-field select option[value=""] {
  color: var(--text-muted);
  font-style: italic;
}

/* Global Calendar Widget Color Override */
::-webkit-calendar-picker-indicator {
  filter: invert(20%) sepia(95%) saturate(1500%) hue-rotate(160deg) brightness(90%) contrast(100%);
}

/* Focus States werden jetzt von form-components.css übernommen */

/* Disabled States werden jetzt von form-components.css übernommen */

/* Field Variations */
.cc-field-narrow{
  max-width:160px;
}
.cc-field-wide{
  grid-column:1 / -1; /* Nimmt ganze Breite ein */
}

/* Phone Field - Spezielle Behandlung */
.cc-field-phone{
  min-height:76px;
}
.cc-field-phone .cc-phone{
  display:flex;
  gap:var(--space-md);
}
.cc-field-phone .code{
  width:120px;
  flex-shrink:0;
}
.cc-field-phone .number{
  flex:1;
}

/* Profile Header */
.cc-profile-header{display:flex;gap:24px;align-items:start;margin-bottom:16px;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}
.cc-profile-header.cc-centered{justify-content:center;align-items:center}
.cc-profile-stats{flex:1;display:flex;flex-direction:column;gap:16px}
.cc-stat-item{display:flex;flex-direction:column;gap:6px}
.cc-quick-actions{display:flex;gap:8px}

/* Form Actions */
.cc-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid #f3f4f6}
.cc-field:has(input:disabled) input{opacity:.8}

/* Avatar */
.cc-avatar-uploader{display:flex;flex-direction:column;align-items:center;gap:6px}
.cc-avatar{position:relative;width:64px;height:64px}
.cc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:999px;border:1px solid var(--border);display:none;background:#fff}
.cc-avatar-ph{position:absolute;inset:0;border:1px dashed var(--border);border-radius:999px;background:#f3f4f6;display:grid;place-items:center;color:#9ca3af}
.cc-avatar-ph .material-icons-outlined{font-size:24px}

/* Cropper */
.cc-cropper{display:flex;flex-direction:column;gap:10px}
.cc-crop-area{width:280px;height:280px;border-radius:12px;border:1px solid var(--border);background:#f3f4f6;position:relative;overflow:hidden;touch-action:none}
.cc-crop-area img{position:absolute;left:0;top:0;user-select:none;pointer-events:none}
.cc-crop-ctrl{display:flex;gap:10px;align-items:center}

/* Tiles (2FA) */
.cc-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:6px}
.cc-tile{border:1px solid var(--border);border-radius:8px;padding:12px;background:#fafafa}
.cc-tile-title{font-weight:600;margin-bottom:6px}
.cc-tile-body{color:#4b5563;margin-bottom:10px;display:flex;gap:6px;align-items:center;white-space:nowrap}
.cc-tile-footer{display:flex;align-items:center;justify-content:space-between}
.cc-status{
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.cc-status-entwurf {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-muted);
  border-color: rgba(107, 114, 128, 0.2);
}

.cc-status-online {
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
  border-color: rgba(46, 125, 50, 0.2);
}

.cc-status-offline {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.2);
}

.cc-status-archiviert {
  background: rgba(185, 28, 28, 0.1);
  color: var(--danger);
  border-color: rgba(185, 28, 28, 0.2);
}

.cc-status-unknown {
  background: rgba(229, 231, 235, 0.5);
  color: var(--text-muted);
  border-color: var(--border);
}

/* Company */
.cc-logo{position:relative;width:140px;height:140px}
.cc-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:16px;border:1px solid var(--border);display:none;background:#fff}
.cc-logo-ph{position:absolute;inset:0;border:1px dashed var(--border);border-radius:16px;background:repeating-linear-gradient(45deg,#f8fafc,#f8fafc 10px,#f1f5f9 10px,#f1f5f9 20px);display:grid;place-items:center;color:#9ca3af}
.cc-logo-ph .material-icons-outlined{font-size:44px}
.cc-address{position:relative}
.cc-badges{display:flex;gap:6px;margin-bottom:8px}
.cc-badge{display:inline-block;padding:2px 6px;border-radius:999px;background:var(--accent);color:#0f766e;font-size:12px}
.cc-kebab{border:none;background:transparent;cursor:pointer;padding:4px;border-radius:6px}
.cc-kebab:hover{background:#e5e7eb}
.cc-address-head{display:flex;justify-content:space-between;align-items:center}
.cc-address-body{color:#374151}
.cc-menu{position:absolute;right:8px;top:36px;background:#fff;border:1px solid var(--border);box-shadow:0 6px 20px rgba(0,0,0,.08);border-radius:8px;display:flex;flex-direction:column;min-width:200px;z-index:20}
.cc-menu button{appearance:none;background:#fff;border:none;text-align:left;padding:10px 12px;cursor:pointer}
.cc-menu button:hover{background:#f3f4f6}
.cc-menu button.danger{color:var(--danger)}

/* Dialog */
/* Overlay und Dialog Styles sind jetzt in form-components.css */

/* Toast */
.cc-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;background:#111;color:#fff;padding:10px 14px;border-radius:999px;display:flex;gap:12px;align-items:center;box-shadow:0 6px 20px rgba(0,0,0,.2);z-index:50}
.cc-toast button{background:#fff;color:#111;border:none;border-radius:999px;padding:6px 10px;cursor:pointer}
.cc-toast button:hover{background:#e5e7eb}

/* Controls */
.cc-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}
/* Material Design Buttons */
.cc-btn{
  padding:8px 16px;
  border:none;
  border-radius:4px;
  background:#fff;
  cursor:pointer;
  font-weight:500;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:background-color 0.2s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow:0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  text-transform:uppercase;
  letter-spacing:0.5px;
  font-size:14px;
  min-height:36px;
  position:relative;
  overflow:hidden;
}

.cc-btn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(0,0,0,0.1);
  transform:translate(-50%, -50%);
  transition:width 0.6s, height 0.6s;
}

.cc-btn:hover{
  box-shadow:0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.cc-btn:active::before{
  width:300px;
  height:300px;
}

.cc-btn-primary{
  background:var(--teal);
  color:#fff;
}

.cc-btn-primary::before{
  background:rgba(255,255,255,0.2);
}

.cc-btn-primary:hover{
  background:#0e8080;
  box-shadow:0 4px 8px rgba(18,157,156,0.3), 0 6px 20px rgba(18,157,156,0.15);
}

.cc-btn-modern{
  padding:10px 24px;
  font-weight:600;
  min-height:40px;
  text-align:center;
}

.cc-btn-modern .material-icons-outlined{
  font-size:18px;
}

.cc-btn-secondary{
  background:#f5f5f5;
  color:rgba(0,0,0,0.87);
}

.cc-btn-secondary:hover{
  background:#eeeeee;
}

.cc-btn-sm{
  padding:6px 12px;
  font-size:12px;
  min-height:28px;
}

.cc-btn-ghost{
  background:transparent;
  color:var(--teal);
  box-shadow:none;
  border:1px solid var(--teal);
}

.cc-btn-ghost:hover{
  background:rgba(18,157,156,0.08);
  box-shadow:none;
}

.cc-btn-danger{
  background:var(--danger);
  color:#fff;
}

.cc-btn-danger::before{
  background:rgba(255,255,255,0.1);
}

.cc-btn-danger:hover{
  background:#a91b1b;
  box-shadow:0 3px 6px rgba(185,28,28,0.3), 0 3px 6px rgba(185,28,28,0.15);
}

/* Modal styles */
.cc-modal-overlay{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0.5);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2000;
  backdrop-filter:blur(2px);
}

.cc-modal{
  background:var(--card);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-xl);
  max-width:420px;
  width:calc(100vw - 32px);
  max-height:calc(100vh - 32px);
  overflow:hidden;
  transform:scale(0.95);
  animation:modalShow 0.2s ease-out forwards;
}

@keyframes modalShow{
  to{transform:scale(1)}
}

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

.cc-modal-header h3{
  margin:0;
  font-size:var(--text-lg);
  font-weight:600;
  color:var(--text-primary);
}

.cc-modal-close{
  background:none;
  border:none;
  cursor:pointer;
  padding:var(--space-sm);
  border-radius:var(--radius-md);
  color:var(--text-muted);
  transition:background-color 0.2s ease,color 0.2s ease;
}

.cc-modal-close:hover,.cc-modal-close:focus{
  background:var(--accent);
  color:var(--text-secondary);
  outline:none;
}

.cc-modal-body{
  padding:var(--space-lg) var(--space-xl);
}

.cc-modal-body p{
  margin:0;
  color:var(--text-secondary);
  line-height:1.6;
}

.cc-modal-footer{
  display:flex;
  gap:var(--space-md);
  padding:var(--space-lg) var(--space-xl) var(--space-xl);
  justify-content:flex-end;
  border-top:1px solid var(--border);
}

/* Switch */
.cc-switch{position:relative;display:inline-block;width:42px;height:24px}
.cc-switch input{opacity:0;width:0;height:0}
.cc-switch span{position:absolute;cursor:pointer;inset:0;background:#d1d5db;border-radius:999px;transition:.2s}
.cc-switch span:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:white;border-radius:50%;transition:.2s}
.cc-switch input:checked + span{background:var(--teal)}
.cc-switch input:checked + span:before{transform:translateX(18px)}

/* Login - Mobile First */
.cc-centered{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:var(--space-lg);
  padding-top:var(--login-offset);
}

.cc-login-card{
  width:100%;
  max-width:480px;
}

@media (max-width: 480px){
  .cc-centered{
    padding:var(--space-md);
    padding-top:calc(var(--login-offset) - 40px);
  }
  
  .cc-login-card{
    width:100%;
  }
}
.cc-login-logo{position:absolute;left:50%;transform:translateX(-50%);top:calc(var(--login-offset) - 56px);display:flex;justify-content:center;align-items:center}
.cc-login-logo img{height:44px; width:auto; max-width:200px; object-fit:contain}
/* Center login/register buttons */
.cc-login-card #loginBtn,
.cc-login-card #registerBtn{display:block;margin:12px auto 0}
.cc-field + .cc-field{margin-top:10px}
/* cc-msg Styles sind jetzt in form-components.css */
/* Auth Tabs und Meter Styles sind jetzt in form-components.css */

/* Error Messages sind jetzt in form-components.css */

/* Validation States */
.cc-field.cc-invalid input,
.cc-field.cc-invalid select,
.cc-field.cc-invalid textarea{
  border-color:var(--danger);
  background:#fff5f5;
  box-shadow:0 0 0 3px rgba(185,28,28,0.1);
}

.cc-field.cc-valid input,
.cc-field.cc-valid select,
.cc-field.cc-valid textarea{
  border-color:var(--success);
  background:#f0fdf4;
  box-shadow:0 0 0 3px rgba(46,125,50,0.1);
}

/* Required Field Indicator */
.cc-field label.required::after{
  content:" *";
  color:var(--danger);
  font-weight:600;
  margin-left:2px;
}

/* Form Messages sind jetzt in form-components.css */

/* Notification System */
.cc-notification-container {
  position: fixed;
  top: var(--space-2xl);
  right: var(--space-2xl);
  z-index: 10000;
  pointer-events: none;
  max-width: 400px;
  width: 100%;
}

.cc-notification {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-md);
  pointer-events: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cc-notification-show {
  transform: translateX(0);
  opacity: 1;
}

.cc-notification-hide {
  transform: translateX(100%);
  opacity: 0;
}

.cc-notification-content {
  display: flex;
  align-items: flex-start;
  padding: var(--space-lg);
  gap: var(--space-md);
}

.cc-notification-icon {
  font-size: var(--text-lg);
  font-weight: bold;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.cc-notification-message {
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-primary);
}

.cc-notification-close {
  background: none;
  border: none;
  font-size: var(--text-xl);
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cc-notification-close:hover {
  background: var(--accent);
  color: var(--text-primary);
}

/* Notification Types */
.cc-notification-success {
  border-left: 4px solid var(--success);
}

.cc-notification-success .cc-notification-icon {
  color: var(--success);
  background: rgba(46, 125, 50, 0.1);
}

.cc-notification-error {
  border-left: 4px solid var(--danger);
}

.cc-notification-error .cc-notification-icon {
  color: var(--danger);
  background: rgba(185, 28, 28, 0.1);
}

.cc-notification-warning {
  border-left: 4px solid var(--warning);
}

.cc-notification-warning .cc-notification-icon {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.cc-notification-info {
  border-left: 4px solid var(--info);
}

.cc-notification-info .cc-notification-icon {
  color: var(--info);
  background: rgba(59, 130, 246, 0.1);
}

/* Mobile Responsive */
@media (max-width: 680px) {
  .cc-notification-container {
    top: var(--space-lg);
    right: var(--space-lg);
    left: var(--space-lg);
    max-width: none;
  }
  
  .cc-notification {
    transform: translateY(-100%);
  }
  
  .cc-notification-show {
    transform: translateY(0);
  }
  
  .cc-notification-hide {
    transform: translateY(-100%);
  }
}

/* Button States */
.cc-btn[disabled]{
  opacity:0.6;
  cursor:not-allowed;
  pointer-events:none;
}

.cc-btn[aria-disabled="true"]{
  opacity:0.6;
  pointer-events:none;
}

/* Responsive Design */
@media (max-width: 1400px){
  .cc-grid{grid-template-columns:1fr}
  .cc-tiles{grid-template-columns:repeat(3, 1fr)}
}

@media (max-width: 1200px){
  .cc-grid{grid-template-columns:1fr}
  .cc-tiles{grid-template-columns:repeat(2, 1fr)}
}

@media (max-width: 980px){
  .cc-grid{grid-template-columns:1fr}
  .cc-tiles{grid-template-columns:repeat(2, 1fr)}
  
  /* Form Grid Responsive */
  .cc-form-row{
    grid-template-columns:1fr;
    gap:var(--space-lg);
  }
  .cc-form-row.cc-triple,
  .cc-form-row.cc-quad{
    grid-template-columns:1fr;
  }
  .cc-field-narrow{
    max-width:none;
  }
}

/* Jobs Grid Styles */
.jobs-container {
  width: 100%;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-xl);
}

.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.job-title-section {
  flex: 1;
  min-width: 0;
}

.job-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-primary);
  word-break: break-word;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
}

.job-location,
.job-department {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.job-location .material-icons-outlined,
.job-department .material-icons-outlined {
  font-size: 16px;
}

.job-card-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.job-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.job-stat-number {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.job-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-xs);
}

.job-card-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.job-action-dropdown {
  position: relative;
  display: inline-block;
}

.job-action-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.job-action-arrow {
  transition: transform 0.2s ease;
}

.job-action-dropdown.show .job-action-arrow {
  transform: rotate(180deg);
}

.job-action-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.job-action-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.job-action-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
}

.job-action-item:hover,
.job-action-item:focus {
  background: var(--accent);
  color: var(--teal);
  outline: none;
}

.job-action-item.job-action-danger:hover {
  background: rgba(185, 28, 28, 0.1);
  color: var(--danger);
}

.job-action-item .material-icons-outlined {
  font-size: 18px;
  flex-shrink: 0;
}

.job-action-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-sm) 0;
}

.job-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--card);
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.job-action-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--accent);
}

.job-action-btn.job-action-primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.job-action-btn.job-action-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: white;
}

.job-action-btn .material-icons-outlined {
  font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 680px){
  .cc-main{grid-template-columns:1fr}
  .cc-tiles{grid-template-columns:1fr}
  
  /* Jobs Grid Mobile */
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .jobs-filters {
    flex-direction: column !important;
    gap: var(--space-md) !important;
  }
  
  .job-card {
    padding: var(--space-lg);
  }
  
  .job-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .job-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .job-card-stats {
    gap: var(--space-lg);
  }
  
  .job-card-actions {
    flex-direction: column;
  }
  
  .job-action-btn {
    flex: none;
  }
  
  /* Mobile Form Optimizations */
  .cc-form-section{
    margin-bottom:var(--space-xl);
    padding-bottom:var(--space-lg);
  }
  
  .cc-form-section h3{
    font-size:var(--text-sm);
    margin-bottom:var(--space-lg);
  }
  
  .cc-field{
    min-height:auto;
  }
  
  .cc-field input,
  .cc-field select,
  
  
  
  
  /* Mobile button optimizations */
  .cc-btn{
    min-height:44px;
    padding:var(--space-lg) var(--space-xl);
    font-size:var(--text-base);
  }
  
  .cc-btn-sm{
    min-height:36px;
    padding:var(--space-md) var(--space-lg);
  }
  
  /* Mobile table improvements */
  .cc-table{
    font-size:var(--text-sm);
  }
  
  .cc-table th,
  .cc-table td{
    padding:var(--space-md);
  }
  
  /* Mobile modal adjustments */
  .cc-modal{
    width:calc(100vw - var(--space-lg));
    max-height:calc(100vh - var(--space-lg));
    margin:var(--space-sm);
  }
}

/* Wide screens: utilize horizontal space */
@media (min-width: 1400px){
  .cc-topbar-container{
    max-width:1600px;
  }
  
  .cc-main{
    max-width:1600px;
    grid-template-columns:320px 1fr;
  }
  
  .cc-grid{
    grid-template-columns:repeat(4, 1fr);
  }
  
  .cc-tiles{
    grid-template-columns:repeat(4, 1fr);
  }
  
  .cc-marketplace{
    grid-template-columns:320px 1fr 380px;
    grid-template-areas:"sidebar content cart";
  }
}

/* Marketplace */
.cc-marketplace{
  grid-template-columns:260px 1fr 320px;
  grid-template-areas:"sidebar content cart";
}
.cc-marketplace .cc-sidebar{grid-area:sidebar}
.cc-marketplace .cc-content{grid-area:content}
.cc-marketplace .cc-cart{grid-area:cart}
.cc-market-head{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.cc-input{
  flex:1;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:8px;
  background:#fff;
  height:44px;
  box-sizing:border-box;
}

/* Modern Tab Navigation */
.cc-tabs{
  display:flex;
  gap:0;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:4px;
  height:44px;
  box-sizing:border-box;
}

.cc-tabs .tab{
  flex:1;
  padding:0 var(--space-lg);
  border:none;
  border-radius:var(--radius-md);
  background:transparent;
  color:var(--text-secondary);
  cursor:pointer;
  font-weight:500;
  font-size:var(--text-sm);
  transition:all 0.2s ease;
  text-align:center;
  position:relative;
  white-space:nowrap;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:var(--space-sm);
  height:100%;
}

.cc-tabs .tab:hover{
  background:var(--card);
  color:var(--text-primary);
}

.cc-tabs .tab.active{
  background:var(--accent);
  color:var(--text-primary);
  border:1px solid var(--teal-200);
}

.cc-tabs .tab .material-icons-outlined{
  font-size:18px;
}

/* Removed overly decorative tab indicator */

/* Responsive Tab Design */
@media (max-width: 1024px) {
  .cc-market-head{
    flex-direction:column;
    gap:var(--space-lg);
    align-items:stretch;
  }
  
  .cc-tabs{
    order:2;
  }
  
  .cc-input{
    order:1;
  }
}

@media (max-width: 768px) {
  .cc-tabs .tab{
    flex-direction:column;
    gap:var(--space-xs);
    padding:var(--space-md) var(--space-lg);
    font-size:var(--text-xs);
  }
  
  .cc-tabs .tab .material-icons-outlined{
    font-size:16px;
  }
}

@media (max-width: 640px) {
  .cc-tabs{
    flex-direction:column;
    gap:4px;
  }
  
  .cc-tabs .tab{
    flex-direction:row;
    justify-content:flex-start;
    text-align:left;
    padding:var(--space-lg);
  }
}
/* Modern Products Grid */
.cc-products{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(380px, 1fr));
  gap:var(--space-3xl);
  margin-top:var(--space-xl);
}

/* Modern Product Cards */
.cc-product{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-xl);
  padding:var(--space-3xl);
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
}

.cc-product:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-lg);
  border-color:var(--teal-200);
}

.cc-product-icon{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--teal), var(--teal-600));
  border-radius:var(--radius-xl);
  color:white;
  margin-bottom:var(--space-xl);
  box-shadow:var(--shadow-md);
}

.cc-product-icon .material-icons-outlined{
  font-size:32px;
}

.cc-product-main{
  flex:1;
  margin-bottom:var(--space-xl);
}

.cc-product-title{
  font-size:var(--text-xl);
  font-weight:700;
  color:var(--text-primary);
  margin-bottom:var(--space-md);
  line-height:1.3;
}

.cc-product-sub{
  color:var(--text-secondary);
  font-size:var(--text-sm);
  line-height:1.5;
  margin-bottom:var(--space-lg);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.cc-product-sub .small{
  font-size:var(--text-xs);
  color:var(--text-muted);
}

.cc-product-sub a{
  color:var(--teal);
  text-decoration:none;
  font-weight:500;
  transition:color 0.2s ease;
}

.cc-product-sub a:hover{
  color:var(--teal-600);
  text-decoration:underline;
}

.cc-product-tags{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-sm);
  margin-bottom:var(--space-xl);
}

.cc-product-tags .tag{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-full);
  padding:var(--space-xs) var(--space-md);
  font-size:var(--text-xs);
  color:var(--text-secondary);
  font-weight:500;
  transition:all 0.2s ease;
}

.cc-product-tags .tag:hover{
  background:var(--accent);
  color:var(--text-primary);
}

.cc-product-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--space-md);
}

.cc-product-price-group{
  display:flex;
  flex-direction:column;
  gap:var(--space-xs);
}

.cc-product-price .list{
  font-size:var(--text-sm);
  text-decoration:line-through;
  color:var(--text-muted);
}

.cc-product-price .final{
  font-size:var(--text-2xl);
  font-weight:700;
  color:var(--text-primary);
}

.cc-product-price .cc-btn{
  width:100%;
  justify-content:center;
  font-weight:600;
  padding:var(--space-lg) var(--space-xl);
  transition:all 0.2s ease;
}

.cc-product .cc-btn.disabled{
  opacity:0.6;
  cursor:not-allowed;
}

.cc-product .cc-btn:not(.disabled):hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-md);
}

.cc-product-price .cc-btn .material-icons-outlined{
  font-size:18px;
  margin-right:var(--space-sm);
}

/* Responsive Product Grid */
@media (max-width: 1200px) {
  .cc-products{
    grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
    gap:var(--space-xl);
  }
}

@media (max-width: 768px) {
  .cc-products{
    grid-template-columns:1fr;
    gap:var(--space-lg);
  }
  
  .cc-product{
    padding:var(--space-xl);
  }
  
  .cc-product-icon{
    width:56px;
    height:56px;
  }
  
  .cc-product-icon .material-icons-outlined{
    font-size:28px;
  }
  
  .cc-product-title{
    font-size:var(--text-lg);
  }
}
/* Load More Button */
.cc-center{
  display:flex;
  justify-content:center;
  margin-top:var(--space-4xl);
  padding-top:var(--space-3xl);
  border-top:1px solid var(--border);
}

.cc-center .cc-btn{
  padding:var(--space-lg) var(--space-4xl);
  font-weight:600;
  min-height:44px;
}

/* Modern Cart Design */
.cc-cart {
  display: block;
  padding: 0;
}

.cc-cart .cc-card {
  position: sticky;
  top: 78px;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  overflow: hidden;
}

/* Warenkorb verwendet jetzt das Standard cc-sidebar-title Styling */

/* Cart Items Container */
.cc-cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.cc-cart-items::-webkit-scrollbar {
  width: 4px;
}

.cc-cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.cc-cart-items::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

/* Modern Cart Item */
.cc-cart-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  position: relative;
}

.cc-cart-row:hover {
  border-color: var(--teal-200);
  box-shadow: 0 2px 12px rgba(20, 184, 166, 0.08);
  transform: translateY(-1px);
}

.cc-cart-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 18px;
  flex-shrink: 0;
}

.cc-cart-item-details {
  flex: 1;
  min-width: 0;
}

.cc-cart-item-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-cart-item-price {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.cc-cart-row .icon {
  border: none;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-family: 'Material Icons Outlined';
  font-size: 18px;
}

.cc-cart-row .icon:hover {
  background: var(--red-50);
  color: var(--red);
  transform: scale(1.1);
}

.cc-cart-row .icon::before {
  content: "remove_circle_outline";
}

/* Empty Cart State */
.cc-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  color: var(--text-muted);
}

.cc-cart-empty-icon {
  font-size: 48px;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.cc-cart-empty-text {
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.cc-cart-empty-subtext {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Modern Cart Summary */
.cc-cart-sum {
  padding: var(--space-lg) var(--space-xl);
  background: var(--accent);
  border-top: 1px solid var(--border);
}

.cc-cart-sum .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
}

.cc-cart-sum .row.muted {
  color: var(--text-muted);
  font-size: var(--text-xs);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.cc-cart-sum .row.total {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  padding: var(--space-md) 0 var(--space-lg);
  border-bottom: none;
}

.cc-cart-sum .row strong {
  font-weight: 600;
}

/* Checkout Button - Using Global Button Styles */
.cc-cart-sum #checkout {
  width: 100%;
  margin-top: var(--space-md);
}

/* Filter Segments */
.cc-segments{
  display:flex;
  gap:4px;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:4px;
}
.cc-segments .seg{
  flex:1;
  padding:8px 12px;
  border:none;
  border-radius:var(--radius-md);
  background:transparent;
  color:var(--text-secondary);
  cursor:pointer;
  font-weight:500;
  font-size:var(--text-sm);
  transition:all 0.2s ease;
  text-align:center;
}
.cc-segments .seg:hover{
  background:var(--card);
  color:var(--text-primary);
  transform:translateY(-1px);
}
.cc-segments .seg.active{
  background:var(--teal);
  color:white;
  box-shadow:var(--shadow-md);
}
.cc-progress{display:block;margin-top:6px}
.cc-progress .bar{height:10px;background:#eef2f7;border-radius:999px;overflow:hidden}
.cc-progress .fill{height:100%;background:linear-gradient(90deg,#14b8a6,#10b981);border-radius:999px}
.cc-two-col{display:grid;grid-template-columns:320px 1fr;gap:12px;align-items:start;margin-top:12px}
.cc-sticky-side{position:sticky;top:68px;transition:top 0.3s ease}
.cc-anchor{scroll-margin-top:68px}
/* Price Range Slider */
.cc-range{
  position:relative;
  margin:var(--space-md) 0;
}
.cc-range-bar{
  height:8px;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-full);
  position:relative;
  margin:var(--space-xl) 0;
}
.cc-range-bar .fill{
  position:absolute;
  top:0;
  bottom:0;
  background:linear-gradient(90deg, var(--teal), var(--teal-600));
  border-radius:var(--radius-full);
  transition:all 0.2s ease;
}
.cc-range input[type=range]{
  position:absolute;
  left:0;
  right:0;
  top:50%;
  transform:translateY(-50%);
  height:8px;
  background:transparent;
  -webkit-appearance:none;
  appearance:none;
  cursor:pointer;
}
.cc-range input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--teal);
  border:3px solid white;
  box-shadow:var(--shadow-md);
  cursor:pointer;
  transition:all 0.2s ease;
}
.cc-range input[type=range]::-webkit-slider-thumb:hover{
  transform:scale(1.1);
  box-shadow:var(--shadow-lg);
}
.cc-range input[type=range]::-moz-range-thumb{
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--teal);
  border:3px solid white;
  box-shadow:var(--shadow-md);
  cursor:pointer;
  transition:all 0.2s ease;
}
.cc-range input[type=range]::-webkit-slider-runnable-track{
  height:8px;
  background:transparent;
}
.cc-range-vals{
  display:flex;
  justify-content:space-between;
  margin-top:var(--space-lg);
}
.cc-range-vals span{
  display:flex;
  align-items:center;
  gap:var(--space-sm);
  padding:var(--space-sm) var(--space-md);
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  font-size:var(--text-sm);
  color:var(--text-secondary);
}
.cc-range-vals strong{
  color:var(--text-primary);
  font-weight:600;
}

/* Prevent overflow in cards/sidebars */
.cc-card{overflow:hidden}
.cc-sidebar{overflow:hidden}
.cc-sidebar-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:6px 0 10px}
.cc-sidebar-kpis .kpi{border:1px solid var(--border);background:#fff;border-radius:8px;padding:8px;display:flex;flex-direction:column;align-items:flex-start}
.cc-sidebar-kpis .kpi .num{font-weight:800;font-size:18px}
.cc-sidebar-kpis .kpi .label{color:#6b7280;font-size:12px}
/* Tags Cloud */
.cc-tags-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-sm);
  margin-top:var(--space-md);
  max-height:200px;
  overflow-y:auto;
}
.cc-tags-cloud::-webkit-scrollbar{
  width:4px;
}
.cc-tags-cloud::-webkit-scrollbar-track{
  background:transparent;
}
.cc-tags-cloud::-webkit-scrollbar-thumb{
  background:var(--border);
  border-radius:var(--radius-full);
}
.cc-tag{
  padding:var(--space-sm) var(--space-lg);
  border:1px solid var(--border);
  border-radius:var(--radius-full);
  background:var(--card);
  color:var(--text-secondary);
  cursor:pointer;
  font-size:var(--text-sm);
  font-weight:500;
  transition:all 0.2s ease;
  white-space:nowrap;
}
.cc-tag:hover{
  background:var(--accent);
  color:var(--text-primary);
  transform:translateY(-1px);
  box-shadow:var(--shadow-sm);
}
.cc-tag.active{
  background:var(--teal);
  color:white;
  border-color:var(--teal);
  box-shadow:var(--shadow-md);
}
.cc-help .cc-actions{display:flex;gap:8px}
.timeline{display:flex;flex-direction:column;gap:8px}
.timeline .event{border:1px solid var(--border);border-radius:8px;background:#fff;padding:10px}
.timeline .event .meta{color:#6b7280;font-size:12px;margin-bottom:4px}

/* Cart responsive behavior */
@media (max-width: 1199px){
  .cc-cart{
    display:none;
  }
  .cc-marketplace{
    grid-template-columns:240px 1fr;
    grid-template-areas:"sidebar content";
  }
}

/* Tablet and below layout adjustments */
@media (max-width: 1023px){
  .cc-main{
    grid-template-columns:1fr;
    gap:var(--space-lg);
    padding:0 var(--space-lg);
    margin:var(--space-lg) auto;
  }
  
  .cc-marketplace{
    grid-template-columns:1fr;
    grid-template-areas:"content";
  }
  
  .cc-two-col{
    grid-template-columns:1fr;
    gap:var(--space-lg);
  }
  
  .cc-form-row{
    grid-template-columns:1fr;
    gap:var(--space-lg);
  }
  
  .cc-sidebar{
    position:static;
    top:auto;
    max-height:none;
    overflow-y:visible;
  }
}

@media (max-width: 768px){
  .cc-form-section h3{
    font-size:14px;
  }
  
  .cc-field-narrow{
    max-width:none;
  }
  
  .cc-main{
    padding:0 var(--space-md);
    margin:var(--space-md) auto;
    gap:var(--space-md);
  }
  
  .cc-card{
    padding:var(--space-lg);
  }
  
  .cc-sidebar{
    padding:var(--space-lg);
  }
}

@media (max-width: 480px){
  .cc-main{
    padding:0 var(--space-sm);
    margin:var(--space-sm) auto;
  }
  
  .cc-card{
    padding:var(--space-md);
    border-radius:var(--radius-md);
  }
  
  .cc-sidebar{
    padding:var(--space-md);
  }
}

/* Dashboard UI - Mobile First */
.cc-dash-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-lg);
  margin-top:var(--space-lg);
}

@media (min-width: 1080px){
  .cc-dash-grid{
    grid-template-columns:2fr 1fr;
  }
}

/* Ads slider */
.cc-ads-slider{position:relative;border-radius:10px;overflow:hidden;border:1px solid var(--border);background:#fff}
.cc-ads-slider .slides{display:flex;transition:transform .4s ease}
.cc-ads-slider .slide{min-width:100%;height:160px;display:block;background:#f3f4f6}
.cc-ads-slider img{width:100%;height:160px;object-fit:cover;display:block}
.cc-ads-slider .dots{position:absolute;left:0;right:0;bottom:8px;display:flex;gap:6px;justify-content:center}
.cc-ads-slider .dot{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.6);border:1px solid rgba(0,0,0,.1);cursor:pointer}
.cc-ads-slider .dot.active{background:#fff}

/* Ad cards */
.cc-ad-card img{width:100%;height:auto;border-radius:8px}
.cc-ad-card .cc-hint{margin-top:6px}

/* Team - Mobile First */
.cc-team-list{
  display:flex;
  flex-direction:column;
  gap:var(--space-lg);
  margin-top:var(--space-lg);
}

.cc-team-row{
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:#fff;
  padding:var(--space-lg);
}

@media (min-width: 640px){
  .cc-team-row{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
}

.cc-team-row .left{
  display:flex;
  gap:var(--space-lg);
  align-items:center;
}

.cc-team-row .avatar{
  width:44px;
  height:44px;
  border-radius:var(--radius-full);
  background:#bfe6e6;
  color:#0e8080;
  display:grid;
  place-items:center;
  font-weight:700;
  flex-shrink:0;
}

.cc-team-row .meta .name{
  font-weight:700;
  margin-bottom:var(--space-xs);
}

.cc-team-row .meta .email{
  color:#4b5563;
  font-size:var(--text-sm);
}
.badge{display:inline-block;padding:2px 8px;border-radius:999px;margin-left:8px;font-size:12px;background:#eef2f7;color:#374151}
.badge.muted{background:#f3f4f6;color:#6b7280;margin-left:10px}
.badge.owner{background:#d1fae5;color:#065f46}
.badge.admin{background:#e0f2fe;color:#075985}
.badge.editor{background:#fde68a;color:#92400e}
.badge.finance{background:#fef3c7;color:#92400e}
.badge.viewer{background:#e5e7eb;color:#374151}

/* Table System - Mobile First */
.cc-table{
  width:100%;
  border-collapse:collapse;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}

.cc-table th{
  background:#f8fafc;
  text-align:left;
  padding:var(--space-md) var(--space-lg);
  font-weight:600;
  color:var(--text-secondary);
  border-bottom:1px solid var(--border);
  font-size:var(--text-xs);
}

@media (min-width: 768px){
  .cc-table th{
    padding:var(--space-lg);
    font-size:var(--text-sm);
  }
}

.cc-table th[data-sort]{
  cursor:pointer;
  user-select:none;
  transition:background-color 0.2s ease;
}

.cc-table th[data-sort]:hover{
  background:#f1f5f9;
}

.cc-table td{
  padding:var(--space-md) var(--space-lg);
  border-bottom:1px solid #f3f4f6;
  vertical-align:middle;
  font-size:var(--text-sm);
}

@media (min-width: 768px){
  .cc-table td{
    padding:var(--space-lg);
    font-size:var(--text-base);
  }
}

.cc-table tr:last-child td{
  border-bottom:none;
}

.cc-table tr:hover{
  background:#fafafa;
}

.cc-table .cc-table-empty{
  text-align:center;
  padding:var(--space-xl);
  color:var(--text-muted);
  font-style:italic;
}

@media (min-width: 768px){
  .cc-table .cc-table-empty{
    padding:var(--space-2xl);
  }
}

/* Mobile table scroll behavior */
@media (max-width: 767px){
  .cc-table-wrapper{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:var(--radius-lg);
  }
  
  .cc-table{
    min-width:600px;
  }
  
  .cc-table th,
  .cc-table td{
    white-space:nowrap;
    padding:var(--space-md);
  }
  
  .cc-table th:first-child,
  .cc-table td:first-child{
    position:sticky;
    left:0;
    background:inherit;
    z-index:1;
  }
  
  .cc-table th:first-child{
    background:#f8fafc;
  }
}

/* Utility Classes */
.cc-text-xs{font-size:var(--text-xs)}
.cc-text-sm{font-size:var(--text-sm)}
.cc-text-base{font-size:var(--text-base)}
.cc-text-lg{font-size:var(--text-lg)}
.cc-text-xl{font-size:var(--text-xl)}
.cc-text-2xl{font-size:var(--text-2xl)}

.cc-text-primary{color:var(--text-primary)}
.cc-text-secondary{color:var(--text-secondary)}
.cc-text-muted{color:var(--text-muted)}
.cc-text-light{color:var(--text-light)}

.cc-font-medium{font-weight:500}
.cc-font-semibold{font-weight:600}
.cc-font-bold{font-weight:700}
.cc-font-extrabold{font-weight:800}

.cc-shadow-sm{box-shadow:var(--shadow-sm)}
.cc-shadow-md{box-shadow:var(--shadow-md)}
.cc-shadow-lg{box-shadow:var(--shadow-lg)}
.cc-shadow-xl{box-shadow:var(--shadow-xl)}

.cc-rounded-sm{border-radius:var(--radius-sm)}
.cc-rounded-md{border-radius:var(--radius-md)}
.cc-rounded-lg{border-radius:var(--radius-lg)}
.cc-rounded-xl{border-radius:var(--radius-xl)}
.cc-rounded-2xl{border-radius:var(--radius-2xl)}
.cc-rounded-full{border-radius:var(--radius-full)}

/* Spacing utilities */
.cc-m-xs{margin:var(--space-xs)}
.cc-m-sm{margin:var(--space-sm)}
.cc-m-md{margin:var(--space-md)}
.cc-m-lg{margin:var(--space-lg)}
.cc-m-xl{margin:var(--space-xl)}
.cc-m-2xl{margin:var(--space-2xl)}

.cc-mt-xs{margin-top:var(--space-xs)}
.cc-mt-sm{margin-top:var(--space-sm)}
.cc-mt-md{margin-top:var(--space-md)}
.cc-mt-lg{margin-top:var(--space-lg)}
.cc-mt-xl{margin-top:var(--space-xl)}
.cc-mt-2xl{margin-top:var(--space-2xl)}

.cc-mb-xs{margin-bottom:var(--space-xs)}
.cc-mb-sm{margin-bottom:var(--space-sm)}
.cc-mb-md{margin-bottom:var(--space-md)}
.cc-mb-lg{margin-bottom:var(--space-lg)}
.cc-mb-xl{margin-bottom:var(--space-xl)}
.cc-mb-2xl{margin-bottom:var(--space-2xl)}

.cc-p-xs{padding:var(--space-xs)}
.cc-p-sm{padding:var(--space-sm)}
.cc-p-md{padding:var(--space-md)}
.cc-p-lg{padding:var(--space-lg)}
.cc-p-xl{padding:var(--space-xl)}
.cc-p-2xl{padding:var(--space-2xl)}

/* Gap utilities */
.cc-gap-xs{gap:var(--space-xs)}
.cc-gap-sm{gap:var(--space-sm)}
.cc-gap-md{gap:var(--space-md)}
.cc-gap-lg{gap:var(--space-lg)}
.cc-gap-xl{gap:var(--space-xl)}
.cc-gap-2xl{gap:var(--space-2xl)}

/* Footer Styles - Mobile First */
.cc-footer{
  background:var(--card);
  border-top:1px solid var(--border);
  margin-top:var(--space-4xl);
  padding:var(--space-2xl) 0 var(--space-xl);
  color:var(--text-secondary);
  font-size:var(--text-sm);
  line-height:1.6;
}

.cc-footer-container{
  max-width:1560px;
  margin:0 auto;
  padding:0 var(--space-lg);
}

@media (min-width: 768px){
  .cc-footer-container{
    padding:0 var(--space-2xl);
  }
}

/* Footer Content Grid */
.cc-footer-content{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-2xl);
  margin-bottom:var(--space-2xl);
}

@media (min-width: 640px){
  .cc-footer-content{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (min-width: 1024px){
  .cc-footer-content{
    grid-template-columns:2fr repeat(3, 1fr);
    gap:var(--space-4xl);
  }
}

/* Footer Brand Section */
.cc-footer-brand{
  grid-column:1 / -1;
}

@media (min-width: 1024px){
  .cc-footer-brand{
    grid-column:1 / 2;
  }
}

.cc-footer-logo{
  margin-bottom:var(--space-lg);
}

.cc-footer-logo img{
  height:32px;
  width:auto;
  max-width:200px;
  object-fit:contain;
}

.cc-footer-tagline{
  color:var(--text-muted);
  margin-bottom:var(--space-xl);
  max-width:280px;
  line-height:1.5;
}

.cc-footer-contact{
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
}

.cc-footer-contact-item{
  display:flex;
  align-items:center;
  gap:var(--space-md);
}

.cc-footer-contact-item .material-icons-outlined{
  font-size:18px;
  color:var(--text-muted);
}

.cc-footer-contact-item a{
  color:var(--text-secondary);
  text-decoration:none;
  transition:color 0.2s ease;
}

.cc-footer-contact-item a:hover{
  color:var(--teal);
}

/* Footer Sections */
.cc-footer-section h4.cc-footer-title{
  font-weight:600;
  color:var(--text-primary);
  margin:0 0 var(--space-lg);
  font-size:var(--text-base);
}

.cc-footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
}

.cc-footer-links a{
  color:var(--text-secondary);
  text-decoration:none;
  transition:color 0.2s ease;
  display:block;
}

.cc-footer-links a:hover{
  color:var(--teal);
}

/* Footer Bottom */
.cc-footer-bottom{
  border-top:1px solid var(--border);
  padding-top:var(--space-xl);
  display:flex;
  flex-direction:column;
  gap:var(--space-lg);
  align-items:center;
  text-align:center;
}

@media (min-width: 768px){
  .cc-footer-bottom{
    flex-direction:row;
    justify-content:space-between;
    text-align:left;
  }
}

.cc-footer-legal{
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
  align-items:center;
}

@media (min-width: 640px){
  .cc-footer-legal{
    flex-direction:row;
    gap:var(--space-xl);
  }
}

.cc-footer-copyright{
  margin:0;
  color:var(--text-muted);
  font-size:var(--text-sm);
}

.cc-footer-legal-nav{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-xl);
  justify-content:center;
}

@media (min-width: 640px){
  .cc-footer-legal-nav{
    justify-content:flex-start;
  }
}

.cc-footer-legal-nav a{
  color:var(--text-muted);
  text-decoration:none;
  font-size:var(--text-sm);
  transition:color 0.2s ease;
}

.cc-footer-legal-nav a:hover{
  color:var(--teal);
}

/* Footer Meta */
.cc-footer-meta{
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
  align-items:center;
}

@media (min-width: 640px){
  .cc-footer-meta{
    flex-direction:row;
    gap:var(--space-xl);
  }
}

.cc-footer-version{
  color:var(--text-muted);
  font-size:var(--text-xs);
  padding:var(--space-xs) var(--space-sm);
  background:var(--bg);
  border-radius:var(--radius-full);
  border:1px solid var(--border);
}

.cc-footer-social{
  display:flex;
  gap:var(--space-md);
}

.cc-social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:var(--radius-md);
  background:var(--bg);
  border:1px solid var(--border);
  color:var(--text-muted);
  transition:all 0.2s ease;
  text-decoration:none;
}

.cc-social-link:hover{
  background:var(--teal);
  border-color:var(--teal);
  color:white;
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}

.cc-social-link svg{
  width:18px;
  height:18px;
}

/* Footer responsive adjustments */
@media (max-width: 480px){
  .cc-footer{
    padding:var(--space-xl) 0 var(--space-lg);
  }
  
  .cc-footer-container{
    padding:0 var(--space-md);
  }
  
  .cc-footer-content{
    gap:var(--space-xl);
  }
  
  .cc-footer-legal-nav{
    flex-direction:column;
    gap:var(--space-md);
  }
  
  .cc-footer-meta{
    flex-direction:column;
  }
}

/* Profile card links */
.cc-profile-card-link{
  text-decoration:none;
  color:inherit;
  transition:transform 0.2s ease;
}

.cc-profile-card-link:hover{
  transform:translateY(-2px);
}

.cc-profile-card-title{
  display:flex;
  align-items:center;
  gap:var(--space-md);
}

.cc-profile-card-desc{
  margin-top:var(--space-sm);
  color:var(--text-muted);
}

/* Preview Box for BMS Forms */
.cc-preview-box{
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:#fff;
  padding:var(--space-lg);
  min-height:120px;
  font-size:var(--text-sm);
  color:var(--text-secondary);
  line-height:1.6;
}

/* Candidates Grid Layout */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-xl);
}

/* Candidate Card Styles */
.candidate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.candidate-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.candidate-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.candidate-title-section {
  flex: 1;
  min-width: 0;
}

.candidate-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.candidate-email,
.candidate-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.candidate-email .material-icons-outlined,
.candidate-phone .material-icons-outlined {
  font-size: 16px;
  color: var(--text-muted);
}

.candidate-card-info {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.candidate-job-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.candidate-job,
.candidate-date,
.candidate-location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.candidate-job .material-icons-outlined,
.candidate-date .material-icons-outlined,
.candidate-location .material-icons-outlined {
  font-size: 16px;
  color: var(--text-muted);
}

.candidate-card-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.candidate-action-dropdown {
  position: relative;
  display: inline-block;
}

.candidate-action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.candidate-action-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.candidate-action-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: white;
}

.candidate-action-menu .candidate-action-arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.candidate-action-dropdown.show .candidate-action-arrow,
.candidate-action-dropdown-menu.show + .candidate-action-menu .candidate-action-arrow {
  transform: rotate(180deg);
}

.candidate-action-dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: var(--space-xs);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.candidate-action-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.candidate-action-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.candidate-action-item .material-icons-outlined {
  font-size: 18px;
  color: var(--text-muted);
}

.candidate-action-danger {
  color: var(--danger);
}

.candidate-action-danger:hover {
  background: var(--danger-bg);
  color: var(--danger-dark);
}

.candidate-action-danger .material-icons-outlined {
  color: var(--danger);
}

.candidate-action-divider {
  margin: var(--space-xs) 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* Status Styles for Candidates */
.cc-status-new {
  background: var(--blue-bg);
  color: var(--blue-dark);
  border-color: var(--blue-200);
}

.cc-status-interview {
  background: var(--orange-bg);
  color: var(--orange-dark);
  border-color: var(--orange-200);
}

.cc-status-accepted {
  background: var(--green-bg);
  color: var(--green-dark);
  border-color: var(--green-200);
}

.cc-status-rejected {
  background: var(--red-bg);
  color: var(--red-dark);
  border-color: var(--red-200);
}

.cc-status-archived {
  background: var(--gray-bg);
  color: var(--gray-dark);
  border-color: var(--gray-200);
}

.cc-status-active {
  background: var(--teal-bg);
  color: var(--teal-dark);
  border-color: var(--teal-200);
}

.cc-status-unknown {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border-color: var(--border);
}

/* Responsive Design for Candidates */
@media (max-width: 768px) {
  .candidates-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .candidate-card {
    padding: var(--space-lg);
  }
  
  .candidate-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .candidate-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .candidate-card-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .candidate-action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .candidate-action-dropdown-menu {
    position: fixed;
    right: var(--space-md);
    left: var(--space-md);
    width: auto;
  }
}

/* Interview Cards */
.interviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.interview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.interview-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.interview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.interview-title-section {
  flex: 1;
  min-width: 0;
}

.interview-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-primary);
  word-break: break-word;
}

.interview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
}

.interview-job,
.interview-type {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.interview-job .material-icons-outlined,
.interview-type .material-icons-outlined {
  font-size: 16px;
}

.interview-card-details {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.interview-datetime {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-md);
}

.interview-date,
.interview-time {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.interview-date .material-icons-outlined,
.interview-time .material-icons-outlined {
  font-size: 16px;
  color: var(--teal);
}

.interview-location {
  display: flex;
  gap: var(--space-lg);
}

.interview-location-text,
.interview-meeting {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.interview-location-text .material-icons-outlined,
.interview-meeting .material-icons-outlined {
  font-size: 16px;
}

.interview-card-participants {
  margin-bottom: var(--space-lg);
}

.interview-interviewers {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.interview-interviewers .material-icons-outlined {
  font-size: 16px;
}

.interview-card-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.interview-action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.interview-action-primary {
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
}

.interview-action-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
}

.interview-action-menu {
  background: var(--card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.interview-action-menu:hover {
  background: var(--accent);
}

.interview-action-dropdown {
  position: relative;
  display: inline-block;
}

.interview-action-arrow {
  transition: transform 0.2s ease;
}

.interview-action-dropdown.show .interview-action-arrow {
  transform: rotate(180deg);
}

.interview-action-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.interview-action-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.interview-action-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: var(--text-sm);
  transition: background-color 0.2s ease;
}

.interview-action-item:hover {
  background: var(--accent);
}

.interview-action-item .material-icons-outlined {
  font-size: 18px;
}

.interview-action-danger {
  color: var(--danger);
}

.interview-action-danger:hover {
  background: rgba(185, 28, 28, 0.1);
}

.interview-action-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: var(--space-xs) 0;
}

.interview-action-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.interview-action-item:disabled:hover {
  background: none;
}

/* Status colors for interviews */
.cc-status-planned {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.cc-status-completed {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.cc-status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.cc-status-rescheduled {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* Responsive adjustments for interviews */
@media (max-width: 768px) {
  .interviews-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .interview-card {
    padding: var(--space-lg);
  }
  
  .interview-card-header {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }
  
  .interview-datetime {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .interview-card-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .interview-action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .interview-action-dropdown-menu {
    position: fixed;
    right: var(--space-md);
    left: var(--space-md);
    width: auto;
  }
}

/* Multiposting Wizard */
.multiposting-wizard {
  max-width: 1200px;
  margin: 0 auto;
}

/* Wizard Progress Bar */
.wizard-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-4xl);
  padding: var(--space-xl) 0;
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 2;
  cursor: pointer;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  flex: 1;
  max-width: 150px;
}

.wizard-step:hover {
  background: var(--accent);
}

.wizard-step.completed {
  color: var(--success);
}

.wizard-step.active {
  color: var(--teal);
  background: var(--accent);
}

.wizard-step-icon {
  width: 40px;
  height: 40px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wizard-step.completed .wizard-step-icon {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.wizard-step.active .wizard-step-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.wizard-step-icon .material-icons-outlined {
  font-size: 20px;
}

.wizard-step-label {
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

/* Wizard Content */
.wizard-content {
  position: relative;
  min-height: 500px;
}

.wizard-step-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.wizard-step-content.active {
  display: block;
}

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

/* Creation Options */
.creation-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.creation-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.creation-option:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}

.creation-option.expanded {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.creation-option-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.creation-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.creation-option-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.creation-option-icon .material-icons-outlined {
  font-size: 24px;
}

.creation-option-content {
  flex: 1;
  min-width: 0;
}

.creation-option-content h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.creation-option-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.creation-option-action {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.creation-option.expanded .creation-option-action {
  transform: rotate(180deg);
}

/* Document Upload Area */
.document-upload-area {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4xl);
  text-align: center;
  background: var(--bg);
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--teal);
  background: var(--accent);
}

.upload-zone .material-icons-outlined {
  font-size: 48px;
  color: var(--teal);
  margin-bottom: var(--space-lg);
}

.upload-zone h4 {
  margin: 0 0 var(--space-sm) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.upload-zone p {
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-muted);
}

.upload-info {
  padding: var(--space-xl) 0;
}

.upload-info h4 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.upload-info p {
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.upload-info p:last-child {
  margin-bottom: 0;
}

/* Upload Progress */
.upload-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.upload-progress .material-icons-outlined {
  font-size: 48px;
  color: var(--teal);
}

.upload-progress h4 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.upload-progress p {
  margin: 0;
  color: var(--text-muted);
}

.progress-bar {
  width: 100%;
  max-width: 300px;
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* Upload Success */
.upload-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.upload-success .material-icons-outlined {
  font-size: 48px;
  color: var(--success);
}

.upload-success h4 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.upload-success p {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
}

/* Wizard Navigation */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-4xl);
  padding: var(--space-xl);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.wizard-navigation .cc-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
}

.wizard-navigation .cc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .wizard-progress {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
  
  .wizard-progress::before {
    display: none;
  }
  
  .wizard-step {
    flex-direction: row;
    max-width: none;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
  
  .wizard-step-label {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .multiposting-wizard {
    margin: 0 var(--space-lg);
  }
  
  .wizard-progress {
    padding: var(--space-lg);
  }
  
  .wizard-step {
    padding: var(--space-sm);
  }
  
  .wizard-step-icon {
    width: 32px;
    height: 32px;
  }
  
  .wizard-step-icon .material-icons-outlined {
    font-size: 18px;
  }
  
  .creation-option {
    flex-direction: column;
    text-align: center;
  }
  
  .creation-option-icon {
    align-self: center;
  }
  
  .document-upload-area {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .upload-zone {
    padding: var(--space-xl);
  }
  
  .wizard-navigation {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .wizard-navigation .cc-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Publishing Step (Step 3) */
.publishing-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  max-width: none;
  margin: 0;
}

.publishing-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
}

.publishing-filters {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  height: fit-content;
  position: sticky;
  top: var(--space-xl);
}

.publishing-filters h3 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.filter-section {
  margin-bottom: var(--space-xl);
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section h4 {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.filter-checkboxes .cc-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

.category-icon {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
}

.price-range-slider {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

.price-inputs input {
  width: 70px;
  padding: var(--space-xs);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.slider-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
}

.slider-range {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  width: 60%;
  margin-left: 20%;
}

.duration-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.duration-option {
  display: flex;
  align-items: center;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
}

.duration-option.active {
  background: var(--accent);
  color: var(--teal);
  font-weight: 500;
}

.duration-option input {
  margin-right: var(--space-sm);
}

.product-type-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-option {
  display: flex;
  align-items: center;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
}

.product-option.active {
  background: var(--accent);
  color: var(--teal);
  font-weight: 500;
}

.product-option input {
  margin-right: var(--space-sm);
}

.contract-info {
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  background: var(--bg);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.quality-score {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.quality-option {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
}

.quality-option input {
  margin-right: var(--space-xs);
}

.quality-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-sm);
}

.star {
  font-size: 16px;
}

.star.active {
  color: #fbbf24;
}

.quality-info {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Publishing Content */
.publishing-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stellenboersen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.stellenboersen-header h2 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.search-bar input {
  width: 250px;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.search-btn, .filter-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-btn:hover, .filter-btn:hover {
  background: var(--accent);
}

.filter-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.search-bar .cc-checkbox {
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* Platform Cards */
.stellenboersen-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.2s ease;
}

.platform-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.platform-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.platform-logo {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.platform-info h4 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.rating-stars {
  font-size: 14px;
}

.rating-number {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.platform-description {
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.platform-description.hidden {
  display: none;
}

.platform-description.visible {
  display: block;
}

.platform-pricing {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.price-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.price-type {
  font-weight: 600;
  color: var(--text-primary);
}

.price-duration {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.price-features {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.price-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.current-price {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.platform-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.available-badge {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--border);
  color: var(--text-muted);
}

.available-badge.available {
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
}

.add-to-cart-btn {
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--teal);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--teal);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
  background: var(--teal);
  color: white;
}

.add-to-cart-btn:disabled {
  background: var(--success);
  border-color: var(--success);
  color: white;
  cursor: not-allowed;
}

/* Publishing Sidebar */
.publishing-sidebar {
  display: flex;
  flex-direction: column;
}

.warenkorb-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: var(--space-xl);
  height: fit-content;
}

.warenkorb-widget h3 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--text-muted);
}

.cart-empty .material-icons-outlined {
  font-size: 32px;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.cart-item-logo {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.cart-item-details {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.cart-item-remove {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background: var(--danger);
  color: white;
}

.cart-item-remove .material-icons-outlined {
  font-size: 16px;
}

.cart-summary {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.total-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--teal);
}

.cart-book-btn {
  width: 100%;
  justify-content: center;
}

.cart-book-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design for Publishing */
@media (max-width: 1200px) {
  .publishing-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .publishing-main {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .publishing-filters {
    position: static;
    order: 2;
  }
  
  .publishing-content {
    order: 1;
  }
  
  .publishing-sidebar {
    order: 3;
  }
}

@media (max-width: 768px) {
  .stellenboersen-header {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-lg);
  }
  
  .search-bar {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .search-bar input {
    width: 100%;
  }
  
  .platform-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
  
  .price-option {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .price-actions {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }
  
  .platform-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .add-to-cart-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Layout Step (Step 4) */
.layout-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--space-xl);
  max-width: none;
  margin: 0;
}

.layout-sidebar {
  display: flex;
  flex-direction: column;
}

.layout-sidebar .cc-card {
  padding: var(--space-xl);
}

.layout-section {
  margin-bottom: var(--space-3xl);
}

.layout-section:last-child {
  margin-bottom: 0;
}

.layout-section h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg) 0;
}

/* Template Options */
.template-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.template-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.template-option:hover {
  border-color: var(--teal);
  background: var(--accent);
}

.template-option.active {
  border-color: var(--teal);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--teal);
}

.template-preview {
  flex-shrink: 0;
}

.template-thumbnail {
  width: 50px;
  height: 40px;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.template-thumbnail.modern {
  background: #fafbfc;
}

.template-thumbnail.minimal {
  background: #ffffff;
}

.template-header {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
}

.template-header.accent {
  background: var(--teal);
}

.template-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.template-line {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
}

.template-line.short {
  width: 70%;
}

.template-line.medium {
  width: 85%;
}

.template-info h5 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.template-info p {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Color Options */
.color-options {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: var(--text-primary);
  transform: scale(1.1);
}

.color-option.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Branding and Layout Options */
.branding-options,
.layout-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Preview Section */
.layout-preview {
  display: flex;
  flex-direction: column;
}

.layout-preview .cc-card {
  padding: var(--space-xl);
  height: fit-content;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.preview-header h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.preview-actions {
  display: flex;
  gap: var(--space-sm);
}

.preview-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
}

.preview-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* Job Preview Container */
.job-preview-container {
  position: relative;
  min-height: 600px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  overflow: auto;
}

.job-preview {
  max-width: 100%;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.job-preview.mobile {
  max-width: 375px;
}

.job-preview.desktop {
  max-width: 100%;
}

/* Job Listing Styles */
.job-listing {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-family: inherit;
}

.job-listing.standard {
  border: 1px solid var(--border);
}

.job-listing.modern {
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.job-listing.minimal {
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

/* Job Company Header */
.job-company-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
}

.company-logo {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.company-info h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
}

.company-info p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Job Main Content */
.job-main-content {
  padding: var(--space-xl);
}

.job-title-section {
  margin-bottom: var(--space-xl);
}

.job-title {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-color, var(--text-primary));
  line-height: 1.2;
}

.job-meta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.job-type,
.job-location,
.job-salary {
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: #f1f3f4;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.job-salary {
  color: var(--primary-color, var(--teal));
  background: var(--accent);
  font-weight: 600;
}

/* Job Content Sections */
.job-description-section > div {
  margin-bottom: var(--space-xl);
}

.job-description-section > div:last-child {
  margin-bottom: 0;
}

.job-description-section h3 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.job-description-section p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
}

.job-benefits.highlighted {
  background: var(--accent);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color, var(--teal));
}

.job-benefits.highlighted h3 {
  color: var(--primary-color, var(--teal));
}

/* Contact Section */
.job-contact-section {
  background: #f8f9fa;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.job-contact-section h3 {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
}

/* Apply Section */
.job-apply-section {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.apply-button {
  background: var(--primary-color, var(--teal));
  color: white;
  border: none;
  padding: var(--space-lg) var(--space-4xl);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
  font-family: inherit;
}

.apply-button:hover {
  background: var(--accent-color, var(--teal-600));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.application-deadline {
  margin: var(--space-lg) 0 0 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Responsive Design for Layout Step */
@media (max-width: 1200px) {
  .layout-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .layout-sidebar {
    order: 2;
  }
  
  .layout-preview {
    order: 1;
  }
}

@media (max-width: 768px) {
  .template-options {
    gap: var(--space-sm);
  }
  
  .template-option {
    padding: var(--space-md);
  }
  
  .color-options {
    gap: var(--space-sm);
  }
  
  .color-option {
    width: 28px;
    height: 28px;
  }
  
  .preview-actions {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .preview-btn {
    width: 100%;
    justify-content: center;
  }
  
  .job-preview-container {
    padding: var(--space-lg);
  }
  
  .job-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .job-main-content,
  .job-company-header {
    padding: var(--space-lg);
  }
  
  .job-contact-section,
  .job-benefits.highlighted {
    padding: var(--space-lg);
  }
}

/* Checkout Step (Step 5) */
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  max-width: none;
  margin: 0;
}

.checkout-main {
  display: flex;
  flex-direction: column;
}

.checkout-main .cc-card {
  padding: var(--space-xl);
}

.order-summary {
  margin-bottom: var(--space-3xl);
}

.order-section {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.order-section:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.order-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg) 0;
}

.job-title-summary {
  background: #f8f9fa;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.job-title-text {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Order Dates */
.order-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.date-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.date-field input {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--card);
  color: var(--text-secondary);
}

.date-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal-200);
}

/* Selected Platforms */
.selected-platforms {
  margin-bottom: var(--space-xl);
}

.selected-platform-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: #f8f9fa;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.selected-platform-item:last-child {
  margin-bottom: 0;
}

.platform-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.platform-details {
  flex: 1;
}

.platform-name {
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.platform-price {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Order Total */
.order-total {
  background: var(--accent);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--teal);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
}

.total-row strong {
  color: var(--teal);
  font-weight: 700;
}

/* Payment Section */
.payment-section {
  margin-bottom: var(--space-3xl);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-option:hover {
  border-color: var(--teal);
  background: var(--accent);
}

.payment-option.active {
  border-color: var(--teal);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--teal);
}

.payment-option input[type="radio"] {
  margin: 2px 0 0 0;
}

.payment-option-content {
  flex: 1;
}

.payment-title {
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: var(--space-xs);
}

.payment-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-md);
}

.payment-methods {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.payment-logo {
  height: 20px;
  width: auto;
  border-radius: var(--radius-sm);
}

/* Billing Section */
.billing-section {
  margin-bottom: var(--space-3xl);
}

.billing-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.billing-form h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--space-md) 0;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.billing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.billing-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.billing-field input {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--card);
  color: var(--text-secondary);
}

.billing-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal-200);
}

/* Email Tags */
.email-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  min-height: 48px;
}

.email-tag {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--teal);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.email-tag span {
  font-weight: 500;
}

.remove-tag {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.remove-tag:hover {
  background: rgba(255,255,255,0.2);
}

.email-input {
  border: none;
  outline: none;
  background: none;
  flex: 1;
  min-width: 150px;
  padding: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

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

/* Terms Section */
.terms-section {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

/* Checkout Sidebar */
.checkout-sidebar {
  display: flex;
  flex-direction: column;
}

.checkout-sidebar .cc-card {
  padding: var(--space-xl);
}

.company-details h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg) 0;
}

.company-info-box {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
}

.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.company-header strong {
  font-weight: 600;
  color: var(--text-secondary);
}

.edit-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.edit-btn:hover {
  color: var(--teal);
  background: rgba(18, 157, 156, 0.1);
}

.company-address {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.company-address p {
  margin: 0 0 var(--space-xs) 0;
}

.company-address p:last-child {
  margin-bottom: 0;
}

.lock-icon {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: var(--text-light);
}

/* Navigation Buttons */
.checkout-btn {
  background: var(--teal) !important;
  color: white !important;
  gap: var(--space-sm);
}

.checkout-btn:disabled {
  background: var(--muted) !important;
  color: var(--text-light) !important;
  cursor: not-allowed;
}

/* Responsive Design for Checkout */
@media (max-width: 1200px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .checkout-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .order-dates {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .billing-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .payment-option {
    padding: var(--space-md);
  }
  
  .payment-methods {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  .payment-logo {
    height: 16px;
  }
  
  .email-tags {
    padding: var(--space-sm);
  }
  
  .email-input {
    min-width: 120px;
  }
  
  .company-info-box {
    padding: var(--space-md);
  }
}

/* Academy Styles */
.academy-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.academy-recommendations {
  margin-top: var(--space-xl);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-secondary);
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all 0.2s ease;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
}

.view-all-link:hover {
  background: var(--accent);
  color: var(--teal-600);
}

.view-all-link .material-icons-outlined {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.view-all-link:hover .material-icons-outlined {
  transform: translateX(2px);
}

/* Academy Grid */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

/* Academy Cards */
.academy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.academy-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
  transform: translateY(-2px);
}

.academy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.academy-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 1px solid var(--teal-200);
}

.academy-card-icon .material-icons-outlined {
  font-size: 24px;
  color: var(--teal);
}

/* Type-specific icon colors */
.academy-card-icon.video {
  background: #fef3c7;
  border-color: #f59e0b;
}

.academy-card-icon.video .material-icons-outlined {
  color: #f59e0b;
}

.academy-card-icon.template {
  background: #ddd6fe;
  border-color: #8b5cf6;
}

.academy-card-icon.template .material-icons-outlined {
  color: #8b5cf6;
}

.academy-card-icon.checklist {
  background: #dcfce7;
  border-color: #22c55e;
}

.academy-card-icon.checklist .material-icons-outlined {
  color: #22c55e;
}

.academy-card-icon.guide {
  background: #fce7f3;
  border-color: #ec4899;
}

.academy-card-icon.guide .material-icons-outlined {
  color: #ec4899;
}

.academy-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

.resource-type {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.access-badge {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.access-badge.free {
  background: #dcfce7;
  color: #166534;
}

.access-badge.paid {
  background: #fef3c7;
  color: #92400e;
}

.academy-card-content {
  flex: 1;
  margin-bottom: var(--space-xl);
}

.academy-card-title {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.academy-card-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.academy-card-actions {
  margin-top: auto;
}

.academy-card-btn {
  width: 100%;
  justify-content: center;
  font-weight: 600;
}

/* Error State */
.academy-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl);
  color: var(--text-muted);
  text-align: center;
}

.academy-error .material-icons-outlined {
  font-size: 48px;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.academy-error p {
  margin: 0;
  font-size: var(--text-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .academy-actions {
    flex-direction: column;
  }
  
  .academy-actions .cc-btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .academy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .academy-card {
    padding: var(--space-lg);
  }
  
  .view-all-link {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .academy-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .academy-card-meta {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  
  .academy-card-icon {
    width: 40px;
    height: 40px;
  }
  
  .academy-card-icon .material-icons-outlined {
    font-size: 20px;
  }
}

/* Academy Dashboard Styles */

/* Kategorien-Grid - folgt globalen Design-Standards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.category-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--teal-200);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-600));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.category-icon .material-icons-outlined {
  font-size: 24px;
}

.category-info h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.category-count {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.category-description {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.category-featured {
  margin-bottom: var(--space-lg);
}

.category-featured h4 {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.featured-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-list li {
  margin-bottom: var(--space-sm);
}

.featured-list a {
  color: var(--teal);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.featured-list a:hover {
  color: var(--teal-600);
  text-decoration: underline;
}

.category-actions {
  margin-top: auto;
}

.category-btn {
  width: 100%;
  justify-content: center;
  gap: var(--space-sm);
}

/* Fortschritts-Übersicht */
.progress-overview {
  margin-top: var(--space-lg);
}

.progress-stats {
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
  margin-bottom: var(--space-xl);
}

.progress-stat {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.progress-circle {
  position: relative;
  width: 60px;
  height: 60px;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle circle:last-child {
  transition: stroke-dashoffset 0.5s ease;
}

.progress-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.progress-label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.progress-label strong {
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.progress-label span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.progress-certificates {
  flex: 1;
}

.certificates-count {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: var(--radius-lg);
  color: white;
}

.certificates-count .material-icons-outlined {
  font-size: 28px;
}

.certificates-count strong {
  font-size: var(--text-xl);
  font-weight: 700;
}

.certificates-count span {
  font-size: var(--text-sm);
}

/* Letzte Aktivität */
.recent-activity h4 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--accent);
  border-radius: var(--radius-md);
}

.activity-item .material-icons-outlined {
  color: var(--teal);
  font-size: 20px;
}

.activity-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

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

.activity-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Dual Section Layout */
.academy-dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.academy-dual-section .cc-card {
  margin: 0;
}

.academy-dual-section .academy-recommendations .academy-grid {
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Responsive für Dashboard */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .academy-dual-section {
    grid-template-columns: 1fr;
  }
  
  .progress-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .certificates-count {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .category-card {
    padding: var(--space-lg);
  }
  
  .category-icon {
    width: 40px;
    height: 40px;
  }
  
  .category-icon .material-icons-outlined {
    font-size: 20px;
  }
  
  .progress-circle {
    width: 50px;
    height: 50px;
  }
  
  .progress-circle svg {
    width: 50px;
    height: 50px;
  }
  
  .certificates-count {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
}

/* Academy Courses Styles */
.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
}

.courses-header-content h1 {
  margin: 0 0 var(--space-sm) 0;
}

.courses-stats {
  display: flex;
  gap: var(--space-3xl);
}

.stat-item {
  text-align: center;
  min-width: 80px;
}

.stat-number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Filters Section */
.courses-filters {
  margin-top: var(--space-xl);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.filter-header h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.filter-toggle:hover,
.filter-toggle.active {
  background: var(--accent);
  border-color: var(--teal);
  color: var(--teal);
}
.filter-toggle.cc-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.search-section {
  margin-bottom: var(--space-xl);
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: var(--space-lg);
  color: var(--text-muted);
  z-index: 2;
}

#courseSearch {
  width: 100%;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  background: var(--card);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

#courseSearch:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal-200);
}

.clear-search {
  position: absolute;
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.clear-search:hover {
  background: var(--border);
  color: var(--text-secondary);
}

/* Filters Container */
.filters-container {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3xl);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.filters-container.active {
  display: grid;
}

.filter-group h4 {
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease;
  user-select: none;
}

.filter-option:hover {
  background: var(--accent);
}

.filter-option.active {
  background: var(--accent);
  color: var(--teal);
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  margin-right: var(--space-md);
}

.filter-option-text {
  flex: 1;
  font-weight: 500;
}

.filter-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: var(--bg);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  min-width: 24px;
  text-align: center;
}

.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.results-info {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Courses Content */
.courses-content {
  margin-top: var(--space-xl);
}

.courses-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3xl);
  gap: var(--space-xl);
}

.courses-count h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-secondary);
}

.courses-subtitle {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.sort-select {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  min-width: 180px;
}

.sort-select:focus {
  outline: none;
  border-color: var(--teal);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-3xl);
}

/* Course Cards */
.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.course-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
  transform: translateY(-4px);
}

.course-card-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-thumbnail-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.course-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover .course-card-overlay {
  opacity: 1;
}

.course-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--teal);
}

.course-play-btn:hover {
  background: white;
  transform: scale(1.1);
}

.course-play-btn .material-icons-outlined {
  font-size: 32px;
}

.course-duration {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
}

.course-premium-badge,
.course-free-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.course-premium-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.course-free-badge {
  background: #dcfce7;
  color: #166534;
}

.course-card-content {
  padding: var(--space-3xl);
}

.course-card-header {
  margin-bottom: var(--space-lg);
}

.course-card-title {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.course-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-level {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-level.beginner {
  background: #dcfce7;
  color: #166534;
}

.course-level.intermediate {
  background: #fef3c7;
  color: #92400e;
}

.course-level.advanced {
  background: #fecaca;
  color: #991b1b;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--warning);
  font-weight: 500;
}

.course-rating .material-icons-outlined {
  font-size: 16px;
}

.course-card-description {
  margin: 0 0 var(--space-xl) 0;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.course-instructor {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.course-instructor .material-icons-outlined {
  font-size: 18px;
}

.course-stats {
  display: flex;
  gap: var(--space-lg);
}

.course-lessons,
.course-students {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.course-lessons .material-icons-outlined,
.course-students .material-icons-outlined {
  font-size: 16px;
}

.course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.course-tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.course-card-actions {
  display: flex;
  gap: var(--space-md);
}

.course-enroll-btn {
  flex: 1;
}

.course-preview-btn {
  flex-shrink: 0;
}

/* Loading and Empty States */
.courses-loading,
.courses-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl);
  color: var(--text-muted);
  text-align: center;
  grid-column: 1 / -1;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--space-lg);
}

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

.courses-empty .material-icons-outlined {
  font-size: 64px;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.courses-empty h3 {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-xl);
}

.courses-error {
  text-align: center;
  padding: var(--space-4xl);
  grid-column: 1 / -1;
}

.courses-error .material-icons-outlined {
  font-size: 64px;
  color: var(--danger);
  margin-bottom: var(--space-lg);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.video-modal-container {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.video-modal-header h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.video-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: var(--bg);
  color: var(--text-secondary);
}

.video-modal-content {
  padding: var(--space-xl);
}

.video-player {
  width: 100%;
  height: 300px;
  background: #000;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.video-placeholder {
  text-align: center;
  color: white;
}

.video-placeholder .material-icons-outlined {
  font-size: 64px;
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.video-modal-info p {
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.video-modal-actions {
  display: flex;
  gap: var(--space-md);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .courses-header {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .courses-stats {
    align-self: flex-start;
    gap: var(--space-xl);
  }
  
  .filter-toggle {
    display: flex;
  }
  
  .filters-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .courses-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }
  
  .sort-select {
    width: 100%;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .course-card-content {
    padding: var(--space-xl);
  }
  
  .course-card-details {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .course-card-actions {
    flex-direction: column;
  }
  
  .course-preview-btn {
    flex: 1;
  }
  
  .video-modal {
    padding: var(--space-md);
  }
  
  .video-modal-container {
    max-height: 95vh;
  }
  
  .video-player {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .course-card-thumbnail {
    height: 160px;
  }
  
  .course-play-btn {
    width: 48px;
    height: 48px;
  }
  
  .course-play-btn .material-icons-outlined {
    font-size: 24px;
  }
  
  .filter-actions {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }
}

/* ===========================
   Form Components Import
   Zentrale Form-Styling-Komponenten
   =========================== */
@import url("modules/form-components.css");
/* ===========================
   HINWEIS: Form Styles
   Alle Form-Element-Styles (Input, Select, Textarea, Date, etc.) 
   befinden sich jetzt in modules/form-components.css
   =========================== */



/* 
   HINWEIS: JavaScript-Utilities für Form-Komponenten
   Fügen Sie für erweiterte Funktionalität hinzu:
   <script src="modules/form-components.js"></script>
*/
