/**
 * ═══════════════════════════════════════════════════════════════
 * PF_WS.css - Workspace Manager Styles
 * Version: 2.0.0
 * Autor: Franz PFuisi
 * Beschreibung: Grün-blaues Gradient-Design mit modernen Animationen
 * PFWS 1.4.1.3.25 konform - Eigenständiges LMS-Modul
 * ═══════════════════════════════════════════════════════════════
 */

 .pf-ws-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   🎨 CSS VARIABLES & THEME
   ═══════════════════════════════════════════════════════════════ */
:root {
    --pf-ws-green: #ff6b35;
    --pf-ws-blue: #00d4aa;
    --pf-ws-dark-green: #e8590c;
    --pf-ws-dark-blue: #00b894;
    --pf-ws-light-green: #ffe8df;
    --pf-ws-light-blue: #d5f9f0;
    --pf-ws-gradient: linear-gradient(135deg, #ff6b35 0%, #00d4aa 100%);
    --pf-ws-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --pf-ws-shadow-hover: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   🏗️ CORE LAYOUT STRUCTURE (HAM Pattern)
   ═══════════════════════════════════════════════════════════════ */

/* Layout Wrapper - umschließt alles */
.pf-ws-layout-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Topnav Spacer - NUR im Standalone-Modus sichtbar */
.pf-ws-topnav-spacer {
    height: var(--pf-dashboard-topnav-height, 60px);
    margin-top: 0;
    width: 100%;
    pointer-events: none;
    flex-shrink: 0;
}

/* Container Box - absorbiert Flexbox-Effekte vom Overlay */
.pf-ws-box {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Overlay Mode - volle Höhe */
.pf-ws-box.overlay-mode {
    width: 90vw;
    max-width: 1400px;
    height: 95vh;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px auto;
    padding: 0;
}

/* Dashboard Mode */
.pf-ws-box.dashboard-mode {
    margin: 10px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

/* Modul-Container - STICKY Header & Footer Layout */
.pf-ws-module {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    
    /* KEINE Border hier - Content bekommt die Border! */
}

/* ═══════════════════════════════════════════════════════════════
   📋 HEADER STYLES - Wave Animation wie HAM
   ═══════════════════════════════════════════════════════════════ */

.pf-ws-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #ff6b35 0%, #00d4aa 100%);
    background-size: 400% 400%;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Wave Animation - Hintergrund bewegt sich */
.pf-ws-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #e8590c 20%, #00d4aa 40%, #00b894 60%, #ff6b35 80%, #00d4aa 100%);
    background-size: 400% 400%;
    animation: pf-ws-gradient-wave 10s ease infinite;
    z-index: -1;
}

/* Shimmer Overlay - Glaseffekt-Licht */
.pf-ws-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%
    );
    animation: pf-ws-header-shimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pf-ws-gradient-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pf-ws-header-shimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 10px) rotate(180deg); }
}

.pf-ws-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Drag-Handle (Dashboard Box Move) */
.pf-drag-handle {
    font-size: 28px;
    cursor: grab;
    transition: transform 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.pf-drag-handle:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Info-Toggle Wrapper (ℹ️ Icon) - MUSS über Drag-Handle sein! */
.pf-ws-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 10;
    pointer-events: auto;
}

.pf-ws-icon-wrapper:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.pf-ws-icon-wrapper:active {
    transform: scale(0.95) rotate(-5deg);
}

.pf-ws-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: none;
    pointer-events: none;
    user-select: none;
}

.pf-ws-title-section {
    display: flex;
    flex-direction: column;
}

.pf-ws-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.pf-ws-meta {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.pf-ws-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   📄 BODY & FOOTER
   ═══════════════════════════════════════════════════════════════ */

.pf-ws-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #f8f9fa;
    min-height: 0;
    
    /* Content bekommt die seitlichen Borders (wie Error-Module) */
    border-left: 4px solid var(--pf-ws-green);
    border-right: 4px solid var(--pf-ws-blue);
}

.pf-ws-body::-webkit-scrollbar {
    width: 12px;
}

.pf-ws-body::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.pf-ws-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b35, #00d4aa);
    border-radius: 6px;
}

.pf-ws-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8590c, #00b894);
}

.pf-ws-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: linear-gradient(135deg, #ff6b35 0%, #00d4aa 100%);
    background-size: 400% 400%;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Wave Animation auch im Footer */
.pf-ws-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #e8590c 20%, #00d4aa 40%, #00b894 60%, #ff6b35 80%, #00d4aa 100%);
    background-size: 400% 400%;
    animation: pf-ws-gradient-wave 10s ease infinite;
    z-index: -1;
}

/* Shimmer Overlay im Footer - opposite direction */
.pf-ws-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 70% 50%,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 50%
    );
    animation: pf-ws-footer-shimmer 8s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

@keyframes pf-ws-footer-shimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, 10px) rotate(-180deg); }
}

/* Shimmer deaktivieren */
.pf-ws-header.no-shimmer::after,
.pf-ws-footer.no-shimmer::after {
    display: none;
}

/* Shimmer Toggle Button */
.pf-ws-shimmer-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pf-ws-shimmer-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pf-ws-shimmer-btn:active {
    transform: translateY(0) scale(0.95);
}

.pf-ws-footer-left,
.pf-ws-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ℹ️ INFO SECTION (Toggleable) - HAM Style
   ═══════════════════════════════════════════════════════════════ */

.pf-ws-info-section {
    background: linear-gradient(135deg, #ffe8df 0%, #d5f9f0 100%);
    padding: 20px;
    border-bottom: 2px solid var(--pf-ws-green);
    margin: 0;
    animation: pf-ws-info-slide-down 0.3s ease;
}

@keyframes pf-ws-info-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-ws-info-details {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2-Spalten Layout: Beschreibung links (2/3), Meta rechts (1/3) */
.pf-ws-info-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* LINKS: Beschreibung mit Scrollbar - GRÖSSERER BEREICH */
.pf-ws-info-description {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: 400px;
    overflow-y: auto;
}

.pf-ws-info-description::-webkit-scrollbar {
    width: 6px;
}

.pf-ws-info-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.pf-ws-info-description::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--pf-ws-green) 0%, var(--pf-ws-blue) 100%);
    border-radius: 3px;
}

.pf-ws-info-description label,
.pf-ws-info-description .pf-ws-info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pf-ws-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pf-ws-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* RECHTS: Meta-Informationen gestapelt (HAM Style Blocks) */
.pf-ws-info-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-ws-info-block {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pf-ws-info-block:hover {
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.15);
    transform: translateY(-2px);
}

.pf-ws-info-block label,
.pf-ws-info-block .pf-ws-info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pf-ws-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pf-ws-info-block .pf-ws-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   🔘 DASHBOARD BUTTON
   ═══════════════════════════════════════════════════════════════ */

.pf-ws-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pf-ws-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pf-ws-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   🎬 ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@keyframes pf-ws-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pf-ws-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════════
   📑 TAB NAVIGATION - Registerkarten-Stil
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    border-bottom: 3px solid var(--pf-ws-green);
    padding: 0;
    flex-wrap: wrap;
    position: relative;
}

.pf-ws-tab {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 14px 28px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: -3px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.pf-ws-tab:hover:not(.active) {
    background: linear-gradient(180deg, #ffe8df 0%, #c8ede0 100%);
    color: var(--pf-ws-dark-green);
    transform: translateY(-3px);
    box-shadow: 0 -4px 12px rgba(46, 204, 113, 0.2);
}

.pf-ws-tab.active {
    background: linear-gradient(135deg, var(--pf-ws-green) 0%, var(--pf-ws-blue) 100%);
    color: white;
    border-color: var(--pf-ws-green);
    border-bottom: 3px solid white;
    z-index: 1;
    box-shadow: 0 -4px 16px rgba(46, 204, 113, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   📄 TAB CONTENT - Registerkarten-Container
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-tab-content {
    padding: 25px;
    background: white;
    border: 2px solid var(--pf-ws-green);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: -1px;
}

.pf-ws-tab-pane {
    display: none;
    animation: pf-ws-fade-in 0.5s ease;
}

.pf-ws-tab-pane.active {
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Mindesthöhe für leere Tabs */
}

/* ═══════════════════════════════════════════════════════════════
   🎓 KURSÜBERSICHT - WELCOME
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-welcome {
    background: var(--pf-ws-gradient);
    background-size: 200% 200%;
    animation: pf-ws-gradient-wave 8s ease infinite;
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--pf-ws-shadow);
}

.pf-ws-welcome h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.pf-ws-welcome p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

/* ═══════════════════════════════════════════════════════════════
   💡 INFO BANNER
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.pf-ws-info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pf-ws-info-text {
    flex: 1;
}

.pf-ws-info-text strong {
    color: #d68910;
}

.pf-ws-link {
    color: var(--pf-ws-blue);
    text-decoration: none;
    font-weight: 600;
}

.pf-ws-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   📚 COURSE CARDS GRID
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.pf-ws-course-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--pf-ws-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pf-ws-course-card:hover {
    box-shadow: var(--pf-ws-shadow-hover);
    transform: translateY(-5px);
}

.pf-ws-course-header {
    background: var(--pf-ws-gradient);
    background-size: 200% 200%;
    animation: pf-ws-gradient-wave 10s ease infinite;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.pf-ws-course-type {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

.pf-ws-course-status {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--pf-ws-dark-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.pf-ws-course-body {
    padding: 25px;
}

.pf-ws-course-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #2c3e50;
}

.pf-ws-course-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.pf-ws-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.pf-ws-meta-icon {
    font-size: 16px;
}

.pf-ws-course-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.pf-ws-course-topics {
    margin-bottom: 15px;
}

.pf-ws-course-topics strong {
    display: block;
    margin-bottom: 8px;
    color: var(--pf-ws-dark-green);
    font-size: 14px;
}

.pf-ws-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pf-ws-topic-tag {
    background: var(--pf-ws-light-green);
    color: var(--pf-ws-dark-green);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.pf-ws-course-resources {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pf-ws-course-resources strong {
    color: var(--pf-ws-dark-blue);
    font-size: 14px;
}

.pf-ws-course-resources ul {
    margin: 8px 0;
    padding-left: 20px;
}

.pf-ws-course-resources li {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.pf-ws-course-resources p {
    margin: 8px 0 0 0;
    font-size: 13px;
}

.pf-ws-progress-bar {
    background: #ecf0f1;
    border-radius: 20px;
    height: 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.pf-ws-progress-fill {
    background: var(--pf-ws-gradient);
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease;
}

.pf-ws-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2c3e50;
    font-weight: 600;
    font-size: 12px;
}

.pf-ws-course-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   🔘 BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.pf-ws-btn-primary {
    background: var(--pf-ws-gradient);
    color: white;
}

.pf-ws-btn-primary:hover {
    background: linear-gradient(135deg, var(--pf-ws-dark-green), var(--pf-ws-dark-blue));
    transform: translateY(-2px);
    box-shadow: var(--pf-ws-shadow);
}

.pf-ws-btn-secondary {
    background: white;
    color: var(--pf-ws-blue);
    border: 2px solid var(--pf-ws-blue);
}

.pf-ws-btn-secondary:hover {
    background: var(--pf-ws-light-blue);
    transform: translateY(-2px);
}

.pf-ws-btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   🗺️ HOW-TO FAHRPLAN
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-howto-header {
    text-align: center;
    margin-bottom: 40px;
}

.pf-ws-howto-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pf-ws-howto-subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

.pf-ws-howto-intro {
    margin-bottom: 40px;
}

.pf-ws-howto-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--pf-ws-shadow);
}

.pf-ws-howto-card h3 {
    color: var(--pf-ws-dark-green);
    margin-top: 0;
}

.pf-ws-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pf-ws-integration-item {
    text-align: center;
    padding: 20px;
    background: var(--pf-ws-light-green);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pf-ws-integration-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--pf-ws-shadow);
}

.pf-ws-integration-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.pf-ws-integration-item strong {
    display: block;
    color: var(--pf-ws-dark-green);
    font-size: 16px;
    margin-bottom: 5px;
}

.pf-ws-integration-item p {
    margin: 0;
    font-size: 12px;
    color: #555;
}

.pf-ws-howto-steps {
    margin-bottom: 40px;
}

.pf-ws-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--pf-ws-shadow);
}

.pf-ws-step-number {
    width: 50px;
    height: 50px;
    background: var(--pf-ws-gradient);
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.pf-ws-step-content {
    flex: 1;
}

.pf-ws-step-content h3 {
    margin-top: 0;
    color: var(--pf-ws-dark-green);
}

.pf-ws-step-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.pf-ws-step-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.pf-ws-howto-example {
    background: var(--pf-ws-light-blue);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.pf-ws-howto-example h3 {
    color: var(--pf-ws-dark-blue);
    margin-top: 0;
}

.pf-ws-example-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.pf-ws-flow-step {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    flex: 1 1 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pf-ws-flow-step strong {
    color: var(--pf-ws-dark-blue);
}

.pf-ws-flow-arrow {
    font-size: 24px;
    color: var(--pf-ws-blue);
    font-weight: bold;
}

.pf-ws-howto-footer {
    margin-top: 40px;
}

.pf-ws-cta-box {
    background: var(--pf-ws-gradient);
    background-size: 200% 200%;
    animation: pf-ws-gradient-wave 10s ease infinite;
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--pf-ws-shadow-hover);
}

.pf-ws-cta-box h3 {
    margin-top: 0;
    font-size: 28px;
}

.pf-ws-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   ➕ KURS ERSTELLEN FORM
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-create-header {
    text-align: center;
    margin-bottom: 30px;
}

.pf-ws-create-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pf-ws-upgrade-banner {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.pf-ws-upgrade-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pf-ws-upgrade-icon {
    font-size: 48px;
}

.pf-ws-upgrade-content h3 {
    margin: 0 0 10px 0;
    color: #856404;
}

.pf-ws-upgrade-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.pf-ws-create-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--pf-ws-shadow);
}

.pf-ws-form-section {
    margin-bottom: 30px;
}

.pf-ws-form-section h3 {
    color: var(--pf-ws-dark-green);
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pf-ws-light-green);
}

.pf-ws-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.pf-ws-form-group {
    display: flex;
    flex-direction: column;
}

.pf-ws-form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

.pf-ws-form-group input,
.pf-ws-form-group select,
.pf-ws-form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.pf-ws-form-group input:focus,
.pf-ws-form-group select:focus,
.pf-ws-form-group textarea:focus {
    outline: none;
    border-color: var(--pf-ws-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.pf-ws-integration-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-ws-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pf-ws-checkbox:hover {
    background: var(--pf-ws-light-green);
}

.pf-ws-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.pf-ws-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* ═══════════════════════════════════════════════════════════════
   📊 STATISTIKEN
   ═══════════════════════════════════════════════════════════════ */
.pf-ws-stats-header {
    text-align: center;
    margin-bottom: 30px;
}

.pf-ws-stats-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pf-ws-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pf-ws-stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--pf-ws-shadow);
    transition: all 0.3s ease;
}

.pf-ws-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pf-ws-shadow-hover);
}

.pf-ws-stat-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.pf-ws-stat-value {
    font-size: 36px;
    font-weight: bold;
    background: var(--pf-ws-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.pf-ws-stat-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   📱 RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .pf-ws-courses-grid {
        grid-template-columns: 1fr;
    }

    .pf-ws-tabs {
        flex-direction: column;
    }

    .pf-ws-tab {
        width: 100%;
    }

    .pf-ws-example-flow {
        flex-direction: column;
    }

    .pf-ws-flow-arrow {
        transform: rotate(90deg);
    }

    .pf-ws-cta-buttons {
        flex-direction: column;
    }

    .pf-ws-btn-large {
        width: 100%;
    }
}


/* 
    WORKSPACE BUILDER - DRAG & DROP
    */

.pf-ws-builder-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    /* Entferne feste Höhe - lass es natürlich wachsen */
    min-height: 500px;
    align-items: start; /* Sidebar bleibt oben, Canvas wächst */
}

.pf-ws-builder-sidebar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    overflow-y: auto;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 200px); /* Bleibt im Viewport sichtbar */
    align-self: start; /* Wichtig für sticky in Grid */
}

/* Custom Scrollbar für Sidebar */
.pf-ws-builder-sidebar::-webkit-scrollbar {
    width: 6px;
}

.pf-ws-builder-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.pf-ws-builder-sidebar::-webkit-scrollbar-thumb {
    background: var(--pf-ws-orange);
    border-radius: 3px;
}

.pf-ws-builder-sidebar::-webkit-scrollbar-thumb:hover {
    background: #e8590c;
}

.pf-ws-builder-sidebar h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.pf-ws-module-palette {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-ws-module-block {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: grab;
    transition: all 0.2s;
}

.pf-ws-module-block:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pf-ws-module-block:active {
    cursor: grabbing;
}

.pf-ws-module-block-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pf-ws-module-block-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pf-ws-module-block-info strong {
    font-size: 14px;
    color: #2c3e50;
}

.pf-ws-module-block-id {
    font-size: 11px;
    color: #6c757d;
}

.pf-ws-drag-handle {
    color: #adb5bd;
    font-size: 18px;
    cursor: grab;
}

.pf-ws-builder-canvas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1; /* Wächst mit dem Container */
    min-height: 0; /* Wichtig für Flex-Kinder */
}

.pf-ws-canvas-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pf-ws-workspace-name-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
}

.pf-ws-dropzone {
    background: white;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    min-height: 300px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Kein overflow-y und kein flex:1 → wächst natürlich mit Inhalt */
}

.pf-ws-dropzone-hover {
    border-color: #00d4aa;
    background: rgba(0, 212, 170, 0.05);
}

.pf-ws-dropzone-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
    min-height: 250px; /* Mindesthöhe für Empty-State */
}

/* Verstecke Empty-State wenn Module vorhanden sind */
.pf-ws-dropzone:has(.pf-ws-dropped-module) .pf-ws-dropzone-empty {
    display: none;
}

.pf-ws-dropzone-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.pf-ws-dropzone-empty p {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.pf-ws-dropzone-empty small {
    color: #adb5bd;
}

.pf-ws-dropped-module {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s;
}

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

.pf-ws-dropped-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.pf-ws-dropped-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pf-ws-dropped-info strong {
    font-size: 16px;
    color: #2c3e50;
}

.pf-ws-dropped-id {
    font-size: 12px;
    color: #6c757d;
}

.pf-ws-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fee;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.pf-ws-remove-btn:hover {
    background: #e74c3c;
    color: white;
}

.pf-ws-canvas-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.pf-ws-canvas-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.pf-ws-canvas-info ul {
    margin: 0;
    padding-left: 20px;
    color: #6c757d;
    font-size: 13px;
}

.pf-ws-canvas-info li {
    margin-bottom: 5px;
}

/* Workspaces Grid */
.pf-ws-workspaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pf-ws-workspace-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.pf-ws-workspace-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pf-ws-workspace-header h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.pf-ws-workspace-updated {
    font-size: 12px;
    color: #6c757d;
}

.pf-ws-workspace-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.pf-ws-module-badge {
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.pf-ws-workspace-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* 
    DIALS - CIRCULAR PROGRESS INDICATORS
    */

.pf-ws-dials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.pf-ws-dial-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.pf-ws-dial-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.pf-ws-dial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.pf-ws-dial-icon {
    font-size: 24px;
}

.pf-ws-dial-header h3 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

.pf-ws-dial-body {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
}

.pf-ws-dial-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pf-ws-dial-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 12;
}

.pf-ws-dial-progress {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 2s ease-out;
}

.pf-ws-dial-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.pf-ws-dial-number {
    font-size: 36px;
}

.pf-ws-dial-unit {
    font-size: 18px;
    color: #6c757d;
}

.pf-ws-dial-footer {
    font-size: 13px;
    color: #6c757d;
}

.pf-ws-dial-label {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .pf-ws-dials-grid {
        grid-template-columns: 1fr;
    }
}

/* 
    DIALS - Fixed Size & Grid Layout
    */

.pf-ws-dials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.pf-ws-dial-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--pf-ws-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.pf-ws-dial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pf-ws-shadow-hover);
}

.pf-ws-dial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pf-ws-dial-icon {
    font-size: 20px;
}

.pf-ws-dial-header h3 {
    font-size: 16px;
    color: #34495e;
    margin: 0;
}

.pf-ws-dial-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
}

.pf-ws-dial-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pf-ws-dial-bg {
    fill: none;
    stroke: #ecf0f1;
    stroke-width: 12;
}

.pf-ws-dial-progress {
    fill: none;
    stroke: var(--pf-ws-orange);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 2s ease-out;
}

.pf-ws-dial-progress.pf-ws-dial-green {
    stroke: #27ae60;
}

.pf-ws-dial-progress.pf-ws-dial-turquoise {
    stroke: var(--pf-ws-turquoise);
}

.pf-ws-dial-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pf-ws-dial-number {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.pf-ws-dial-unit {
    font-size: 18px;
    color: #7f8c8d;
    margin-left: 2px;
}

.pf-ws-dial-footer {
    color: #95a5a6;
    font-size: 13px;
}

.pf-ws-dial-footer span {
    display: block;
    margin-top: 3px;
}

/* Responsive Dials */
@media (max-width: 768px) {
    .pf-ws-dials-grid {
        grid-template-columns: 1fr;
    }
}


/* 
    WORKSPACE CARDS - Verbesserte Gestaltung
    */

.pf-ws-workspaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.pf-ws-workspace-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.pf-ws-workspace-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--pf-ws-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pf-ws-workspace-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: var(--pf-ws-orange);
}

.pf-ws-workspace-card:hover::before {
    opacity: 1;
}

.pf-ws-workspace-header {
    padding: 25px 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.pf-ws-workspace-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-ws-workspace-header h3::before {
    content: '';
    font-size: 24px;
}

.pf-ws-workspace-updated {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pf-ws-workspace-updated::before {
    content: '';
    font-size: 14px;
}

.pf-ws-workspace-modules {
    padding: 20px 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 80px;
    background: white;
}

.pf-ws-module-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.pf-ws-module-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pf-ws-workspace-actions {
    padding: 20px 25px;
    display: flex;
    gap: 12px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.pf-ws-workspace-actions button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pf-ws-btn-secondary {
    background: var(--pf-ws-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pf-ws-btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.pf-ws-btn-outline {
    background: white;
    color: var(--pf-ws-orange);
    border: 2px solid var(--pf-ws-orange);
}

.pf-ws-btn-outline:hover:not(:disabled) {
    background: var(--pf-ws-orange);
    color: white;
    transform: translateY(-2px);
}

.pf-ws-workspace-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* 
    DIALS - Fixed Size & Animation
    */

.pf-ws-dial-body {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
}


/* 
    GAST-MELDUNG
    */

.pf-ws-guest-notice {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border: 3px solid var(--pf-ws-orange);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 20px 0 30px;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}

.pf-ws-notice-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pf-ws-guest-notice h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.pf-ws-guest-notice p {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.pf-ws-notice-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pf-ws-notice-actions a {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pf-ws-notice-actions .pf-ws-btn-primary {
    background: var(--pf-ws-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pf-ws-notice-actions .pf-ws-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.pf-ws-notice-actions .pf-ws-btn-outline {
    background: white;
    color: var(--pf-ws-orange);
    border: 2px solid var(--pf-ws-orange);
}

.pf-ws-notice-actions .pf-ws-btn-outline:hover {
    background: var(--pf-ws-orange);
    color: white;
    transform: translateY(-2px);
}


/* 
    MODULE KATEGORIEN
    */

.pf-ws-module-category {
    margin-bottom: 25px;
}

.pf-ws-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--pf-ws-orange) 0%, var(--pf-ws-turquoise) 100%);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.pf-ws-category-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pf-ws-category-label {
    font-size: 15px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pf-ws-module-category .pf-ws-module-palette {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Module Blocks in Kategorien */
.pf-ws-module-category .pf-ws-module-block {
    background: white;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: grab;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.pf-ws-module-category .pf-ws-module-block:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pf-ws-module-category .pf-ws-module-block:active {
    cursor: grabbing;
    transform: scale(0.98);
}


/* 
    QUICK START TEMPLATES
    */

.pf-ws-quick-templates {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid #e9ecef;
}

.pf-ws-quick-templates h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-ws-templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.pf-ws-template-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.pf-ws-template-card:hover {
    transform: translateY(-5px);
    border-color: var(--pf-ws-orange);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.pf-ws-template-card:active {
    transform: scale(0.98);
}

.pf-ws-template-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.pf-ws-template-info {
    text-align: center;
    margin-bottom: 15px;
}

.pf-ws-template-info strong {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
}

.pf-ws-template-info span {
    font-size: 13px;
    color: #7f8c8d;
}

.pf-ws-template-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.pf-ws-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Template Card Hover Effects */
.pf-ws-template-card:hover .pf-ws-template-icon {
    animation: bounce 0.6s ease;
}

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

/* Responsive Templates */
@media (max-width: 768px) {
    .pf-ws-templates-grid {
        grid-template-columns: 1fr;
    }
}


/* 
/* 
    MODULE VERWALTEN - PREMIUM DESIGN
    */

/* Module Header mit Stats */
.pf-ws-modules-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.pf-ws-modules-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 5px 0 0 0;
}

.pf-ws-modules-stats {
    display: flex;
    gap: 12px;
}

.pf-ws-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.pf-ws-stat-label {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pf-ws-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 4px;
}

.pf-ws-stat-value.pf-ws-highlight {
    color: var(--pf-ws-orange);
    animation: pf-ws-pulse 2s ease-in-out infinite;
}

/* Filter Bar */
.pf-ws-modules-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.pf-ws-filter-input,
.pf-ws-filter-select {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.pf-ws-filter-input {
    flex: 1;
}

.pf-ws-filter-input:focus,
.pf-ws-filter-select:focus {
    outline: none;
    border-color: var(--pf-ws-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Module Cards Grid */
.pf-ws-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.pf-ws-module-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pf-ws-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pf-ws-orange), var(--pf-ws-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.pf-ws-module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pf-ws-module-card:hover::before {
    opacity: 1;
}

/* Inactive Cards */
.pf-ws-module-card.pf-ws-card-inactive {
    opacity: 0.7;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.pf-ws-module-card.pf-ws-card-inactive:hover {
    opacity: 1;
}

/* Module Header */
.pf-ws-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pf-ws-module-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.pf-ws-module-card:hover .pf-ws-module-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Status Badges */
.pf-ws-module-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pf-ws-status-active {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.pf-ws-status-inactive {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.pf-ws-status-update {
    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    color: #856404;
    animation: pf-ws-pulse 2s ease-in-out infinite;
}

/* Module Content */
.pf-ws-module-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.pf-ws-module-subtitle {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.pf-ws-module-desc {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    flex: 1;
}

/* Module Meta */
.pf-ws-module-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.pf-ws-meta-item {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Module Footer */
.pf-ws-module-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.pf-ws-module-version {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.pf-ws-module-actions {
    display: flex;
    gap: 8px;
}

/* Icon Buttons */
.pf-ws-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.pf-ws-btn-icon:hover:not(:disabled) {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: var(--pf-ws-orange);
    transform: scale(1.1);
}

.pf-ws-btn-icon:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pf-ws-btn-update {
    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    border-color: #ffc107;
}

.pf-ws-btn-update:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    transform: scale(1.1) rotate(180deg);
}

.pf-ws-btn-activate {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
}

.pf-ws-btn-activate:hover:not(:disabled) {
    background: linear-gradient(135deg, #28a745, #20c997);
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pf-ws-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pf-ws-modules-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .pf-ws-modules-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .pf-ws-modules-filter {
        flex-direction: column;
    }
    
    .pf-ws-modules-grid {
        grid-template-columns: 1fr;
    }
}


/* 
    SETTINGS TAB - PREMIUM DESIGN
    */

/* Settings Header */
.pf-ws-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.pf-ws-settings-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 5px 0 0 0;
}

.pf-ws-upgrade-badge {
    display: flex;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #ffc107;
}

.pf-ws-upgrade-icon {
    font-size: 32px;
}

.pf-ws-upgrade-badge strong {
    display: block;
    color: #856404;
    font-size: 14px;
}

.pf-ws-upgrade-badge p {
    margin: 5px 0 0 0;
    color: #856404;
    font-size: 12px;
}

/* Settings Sections */
.pf-ws-settings-section {
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pf-ws-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.pf-ws-section-title h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.pf-ws-license-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* URL Cards */
.pf-ws-url-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.pf-ws-url-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.pf-ws-url-card:hover {
    border-color: var(--pf-ws-orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.pf-ws-url-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pf-ws-url-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pf-ws-url-icon {
    font-size: 32px;
}

.pf-ws-url-title strong {
    display: block;
    font-size: 16px;
    color: #2c3e50;
}

.pf-ws-url-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.pf-ws-status-public {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.pf-ws-status-private {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.pf-ws-url-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pf-ws-url-field label,
.pf-ws-url-field .pf-ws-url-field-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 6px;
}

.pf-ws-url-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.pf-ws-url-display code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #2c3e50;
    word-break: break-all;
}

.pf-ws-copy-btn {
    background: linear-gradient(135deg, var(--pf-ws-orange), #e8590c);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.pf-ws-copy-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pf-ws-copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pf-ws-url-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

/* Dashboard Stats */
.pf-ws-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.pf-ws-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.pf-ws-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pf-ws-stat-card .pf-ws-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pf-ws-stat-info {
    display: flex;
    flex-direction: column;
}

.pf-ws-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.pf-ws-stat-card .pf-ws-stat-label {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

/* Team List */
.pf-ws-team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pf-ws-team-member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    transition: all 0.3s;
}

.pf-ws-team-member:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateX(5px);
}

.pf-ws-member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pf-ws-member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pf-ws-member-info strong {
    font-size: 15px;
    color: #2c3e50;
}

.pf-ws-member-info span {
    font-size: 12px;
    color: #6c757d;
    margin-top: 3px;
}

.pf-ws-member-role {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.pf-ws-role-owner {
    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    color: #856404;
}

.pf-ws-role-member {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.pf-ws-role-observer {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* Settings Grid */
.pf-ws-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.pf-ws-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    transition: all 0.3s;
}

.pf-ws-setting-item:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.pf-ws-setting-info {
    flex: 1;
}

.pf-ws-setting-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.pf-ws-setting-desc {
    font-size: 12px;
    color: #6c757d;
}

/* Toggle Switch (verschönert!) */
.pf-ws-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.pf-ws-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pf-ws-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ccc, #bbb);
    transition: 0.4s;
    border-radius: 32px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pf-ws-switch-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.pf-ws-switch input:checked + .pf-ws-switch-slider {
    background: linear-gradient(135deg, var(--pf-ws-orange), var(--pf-ws-green));
}

.pf-ws-switch input:checked + .pf-ws-switch-slider:before {
    transform: translateX(28px);
}

.pf-ws-switch input:disabled + .pf-ws-switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Info Boxes */
.pf-ws-info-box {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e7f3ff, #d0e8ff);
    border: 2px solid #2196F3;
    margin-top: 15px;
}

.pf-ws-info-box.pf-ws-info-premium {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-color: #ff9800;
}

.pf-ws-info-box.pf-ws-info-collaboration {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-color: #9c27b0;
}

.pf-ws-info-box.pf-ws-info-success {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-color: #4caf50;
}

.pf-ws-info-box .pf-ws-info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.pf-ws-info-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.pf-ws-info-content strong {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

.pf-ws-info-content code {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Danger Zone */
.pf-ws-danger-zone {
    background: linear-gradient(135deg, #fff5f5, #ffe5e5);
    border: 2px solid #f44336;
}

.pf-ws-danger-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pf-ws-danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #ffcdd2;
}

.pf-ws-danger-item strong {
    display: block;
    font-size: 15px;
    color: #c62828;
    margin-bottom: 5px;
}

.pf-ws-danger-item p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}

.pf-ws-btn-danger {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pf-ws-btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #d32f2f, #c62828);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.pf-ws-btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pf-ws-settings-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .pf-ws-url-cards {
        grid-template-columns: 1fr;
    }
    
    .pf-ws-settings-grid {
        grid-template-columns: 1fr;
    }
    
    .pf-ws-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pf-ws-danger-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* 
    PF WORKSPACE - PREMIUM ALERT SYSTEM
    Modern, glassmorphic alert boxes mit Animation
    Prefix: pf-ws-alert-*
*/

/* Base Alert Structure */
.pf-ws-alert {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border: 2px solid;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: pf-ws-alert-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s ease;
}

.pf-ws-alert:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Animated Background Gradient */
.pf-ws-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pf-ws-alert:hover::before {
    opacity: 1;
}

/* Icon Container */
.pf-ws-alert-icon {
    font-size: 36px;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pf-ws-alert-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

/* Content Container */
.pf-ws-alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-ws-alert-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: block;
    color: inherit;
    letter-spacing: 0.3px;
}

.pf-ws-alert-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: inherit;
    opacity: 0.95;
}

.pf-ws-alert-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 13px;
}

.pf-ws-alert-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-ws-alert-meta code {
    background: rgba(0, 0, 0, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* Link Styling within Alerts */
.pf-ws-alert .pf-ws-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.pf-ws-alert .pf-ws-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* ================================
   ALERT VARIANTS - Premium Designs
   ================================ */

/* Info Alert - Blue Theme */
.pf-ws-alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196F3;
    color: #0d47a1;
}

.pf-ws-alert-info .pf-ws-alert-icon {
    background: linear-gradient(135deg, #64b5f6, #2196F3);
    color: white;
}

/* Success Alert - Green Theme */
.pf-ws-alert-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    color: #1b5e20;
}

.pf-ws-alert-success .pf-ws-alert-icon {
    background: linear-gradient(135deg, #81c784, #4caf50);
    color: white;
}

/* Warning Alert - Orange Theme */
.pf-ws-alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
    color: #e65100;
}

.pf-ws-alert-warning .pf-ws-alert-icon {
    background: linear-gradient(135deg, #ffb74d, #ff9800);
    color: white;
}

/* Error/Danger Alert - Red Theme */
.pf-ws-alert-danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #f44336;
    color: #b71c1c;
}

.pf-ws-alert-danger .pf-ws-alert-icon {
    background: linear-gradient(135deg, #ef5350, #f44336);
    color: white;
}

/* Premium Alert - Gold Theme */
.pf-ws-alert-premium {
    background: linear-gradient(135deg, #fffbf0 0%, #fff4d4 100%);
    border-color: #ffc107;
    color: #f57f17;
}

.pf-ws-alert-premium .pf-ws-alert-icon {
    background: linear-gradient(135deg, #ffd54f, #ffc107);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
}

/* Purple/Collaboration Alert */
.pf-ws-alert-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-color: #9c27b0;
    color: #4a148c;
}

.pf-ws-alert-purple .pf-ws-alert-icon {
    background: linear-gradient(135deg, #ba68c8, #9c27b0);
    color: white;
}

/* Dark Alert - Sophisticated */
.pf-ws-alert-dark {
    background: linear-gradient(135deg, #424242 0%, #212121 100%);
    border-color: #616161;
    color: #fafafa;
}

.pf-ws-alert-dark .pf-ws-alert-icon {
    background: linear-gradient(135deg, #757575, #424242);
    color: white;
}

/* ================================
   PIXELATED EMAIL EFFECT
   ================================ */

.pf-ws-pixelated-email {
    font-family: monospace;
    letter-spacing: -1px;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.15) 0%, 
        rgba(0, 0, 0, 0.08) 50%, 
        rgba(0, 0, 0, 0.15) 100%
    );
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    filter: blur(0.8px);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    color: rgba(108, 117, 125, 0.7);
    cursor: not-allowed;
    user-select: none;
}

.pf-ws-pixelated-email::before {
    content: 'ðŸ”’ ';
    font-size: 10px;
    margin-right: 4px;
    filter: blur(0);
}

/* Hover Effect für verpixelte E-Mails */
.pf-ws-pixelated-email:hover {
    background: linear-gradient(90deg, 
        rgba(255, 107, 53, 0.15) 0%, 
        rgba(0, 212, 170, 0.15) 100%
    );
    filter: blur(1px);
}

/* ================================
   PIXELATED DATA (Database Info etc.)
   ================================ */

.pf-ws-pixelated-data {
    font-family: monospace;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.12) 0%, 
        rgba(0, 0, 0, 0.06) 50%, 
        rgba(0, 0, 0, 0.12) 100%
    );
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    filter: blur(0.6px);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    color: rgba(108, 117, 125, 0.8);
    cursor: not-allowed;
    user-select: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pf-ws-pixelated-data:hover {
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.18) 0%, 
        rgba(0, 0, 0, 0.12) 50%, 
        rgba(0, 0, 0, 0.18) 100%
    );
    filter: blur(0.8px);
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes pf-ws-alert-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pf-ws-alert-icon-pop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Pulse Animation für wichtige Alerts */
.pf-ws-alert-pulse {
    animation: pf-ws-alert-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
               pf-ws-alert-pulse-animation 2s ease-in-out infinite;
}

@keyframes pf-ws-alert-pulse-animation {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .pf-ws-alert {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
    }
    
    .pf-ws-alert-icon {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
    
    .pf-ws-alert-title {
        font-size: 15px;
    }
    
    .pf-ws-alert-text {
        font-size: 13px;
    }
    
    .pf-ws-alert-meta {
        font-size: 12px;
    }
}

/* Compact Alert Variant */
.pf-ws-alert-compact {
    padding: 14px 18px;
    margin: 12px 0;
}

.pf-ws-alert-compact .pf-ws-alert-icon {
    width: 42px;
    height: 42px;
    font-size: 24px;
}

.pf-ws-alert-compact .pf-ws-alert-title {
    font-size: 14px;
}

.pf-ws-alert-compact .pf-ws-alert-text {
    font-size: 13px;
}

/* Dismissible Alert mit Close Button */
.pf-ws-alert-dismissible {
    padding-right: 56px;
}

.pf-ws-alert-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pf-ws-alert-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* Print Styles */
@media print {
    .pf-ws-alert {
        border: 2px solid currentColor;
        box-shadow: none;
        break-inside: avoid;
    }
    
    .pf-ws-alert::before {
        display: none;
    }
}
