/* =====================================================
   AVERRO CONTENT HUB v9 - Mobile-First Professional Design
   ===================================================== */

:root {
    /* Colors */
    --primary: #FFD700;
    --primary-dark: #E6C200;
    --accent: #FF3366;
    --accent-light: #FF6B9D;
    --success: #10B981;
    --success-dark: #059669;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-card: #16161f;
    --bg-elevated: #1e1e2a;
    --bg-input: #1a1a26;
    --bg-hover: #252535;
    
    /* Text */
    --text: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    
    /* Borders */
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    --gradient-pink: linear-gradient(135deg, #FF3366 0%, #FF6B9D 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    --gradient-green: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-glow-gold: 0 4px 20px rgba(255,215,0,0.4);
    --shadow-glow-pink: 0 4px 20px rgba(255,51,102,0.4);
    
    /* Spacing & Sizing */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 20px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    
    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* =====================================================
   BASE & RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#app {
    min-height: 100vh;
}

/* =====================================================
   LOGIN SCREEN - KOMPLETT NEU
   ===================================================== */

.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(180deg, #12121a 0%, #0a0a0f 50%, #0f0f18 100%);
    position: relative;
}

/* Animated Background */
.login-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255,51,102,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Brand Section - ZENTRIERT */
.login-brand {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.login-logo svg {
    filter: drop-shadow(0 4px 20px rgba(255,215,0,0.4));
}

.login-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 4px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    text-align: center;
}

.login-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
}

/* Login Card */
.login-card {
    width: 100%;
    max-width: 360px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.login-card .form-input {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 500;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    margin-bottom: 16px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.login-card .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.2);
}

.login-card .form-input::placeholder {
    color: var(--text-dim);
    text-transform: none;
    letter-spacing: normal;
}

/* Primary Login Button */
.btn-primary {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--gradient-gold);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,215,0,0.5);
}

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

/* Admin Section */
.admin-section {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.admin-divider {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.admin-divider::before,
.admin-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.admin-divider span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Admin Role Buttons - GUT LESBAR */
.admin-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-role-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.admin-role-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.admin-role-btn.manager {
    border-color: rgba(255,215,0,0.4);
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,140,0,0.05) 100%);
}

.admin-role-btn.manager:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.admin-role-btn.strategy {
    border-color: rgba(255,51,102,0.4);
    background: linear-gradient(135deg, rgba(255,51,102,0.1) 0%, rgba(255,107,157,0.05) 100%);
}

.admin-role-btn.strategy:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(255,51,102,0.3);
}

.role-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    font-size: 22px;
}

.admin-role-btn.manager .role-icon {
    background: var(--gradient-gold);
    color: #000;
}

.admin-role-btn.strategy .role-icon {
    background: var(--gradient-pink);
    color: #fff;
}

.role-info {
    flex: 1;
}

.role-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.admin-role-btn.manager .role-title {
    color: var(--primary);
}

.admin-role-btn.strategy .role-title {
    color: var(--accent-light);
}

.role-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 12px 20px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--success);
    position: relative;
    z-index: 1;
}

.security-badge i {
    font-size: 16px;
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.lang-btn {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.lang-btn.active {
    background: var(--gradient-gold);
    border-color: transparent;
    color: #000;
}

/* =====================================================
   APP CONTAINER & HEADER
   ===================================================== */

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    padding-bottom: 85px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 12px;
}

.header-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-back:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.header-back.logout {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.3);
    color: var(--error);
}

.header-back.logout:hover {
    background: var(--error);
    border-color: var(--error);
    color: #fff;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.header-lang {
    display: flex;
    gap: 4px;
}

.lang-btn-sm {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn-sm:hover {
    color: var(--text);
    border-color: var(--text-muted);
}

.lang-btn-sm.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* =====================================================
   MODEL NOTICE BANNER
   ===================================================== */

.model-notice {
    margin: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(139,92,246,0.1) 100%);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--info);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--info);
    margin-bottom: 10px;
}

.notice-header i {
    font-size: 18px;
    color: var(--warning);
}

.notice-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.notice-steps {
    margin-top: 10px;
    margin-left: 0;
    padding-left: 20px;
    list-style: none;
}

.notice-steps li {
    position: relative;
    padding: 4px 0;
    padding-left: 8px;
}

.notice-steps li::before {
    content: '→';
    position: absolute;
    left: -16px;
    color: var(--success);
    font-weight: bold;
}

/* =====================================================
   STATS ROW
   ===================================================== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    text-align: center;
}

.stat-card.open {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,140,0,0.05) 100%);
    border-color: rgba(255,215,0,0.3);
}

.stat-card.done {
    background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(52,211,153,0.05) 100%);
    border-color: rgba(16,185,129,0.3);
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card.open .stat-num {
    color: var(--primary);
}

.stat-card.done .stat-num {
    color: var(--success);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   DATE FILTER
   ===================================================== */

.date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.date-filter::-webkit-scrollbar {
    display: none;
}

.date-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-btn:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

.date-btn.active {
    background: var(--gradient-blue);
    border-color: transparent;
    color: #fff;
}

.date-btn.today-btn.active {
    background: var(--gradient-gold);
    color: #000;
}

.date-input {
    flex-shrink: 0;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    color-scheme: dark;
}

.date-input:hover {
    border-color: var(--primary);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary);
}

.date-selected {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: var(--radius-xs);
    color: var(--primary);
}

/* =====================================================
   FILTER TABS
   ===================================================== */

.filter-tabs {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

.filter-tab.active {
    background: var(--gradient-gold);
    border-color: transparent;
    color: #000;
}

.filter-tab i {
    font-size: 16px;
}

/* =====================================================
   CONTENT LIST & TASK CARDS
   ===================================================== */

.content-list {
    flex: 1;
    padding: 0 16px 16px;
    overflow-y: auto;
}

.task-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.task-card:hover {
    border-color: var(--border-light);
}

.task-card.done {
    opacity: 0.7;
    background: var(--bg-dark);
}

/* Task Header */
.task-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.task-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.task-icon.tiktok {
    background: linear-gradient(135deg, #00F2EA 0%, #FF0050 100%);
}

.task-icon.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
}

.task-icon.onlyfans {
    background: linear-gradient(135deg, #00AFF0 0%, #00D4FF 100%);
}

.task-icon.reddit {
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
}

.task-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
}

.task-icon.script {
    background: var(--gradient-purple);
}

.task-icon.custom {
    background: var(--gradient-gold);
    color: #000;
}

.task-icon.telegram {
    background: linear-gradient(135deg, #0088CC 0%, #00AAFF 100%);
}

.task-icon.fansly {
    background: linear-gradient(135deg, #1FA7F8 0%, #00D9FF 100%);
}

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

.task-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    word-wrap: break-word;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.task-meta i {
    font-size: 12px;
    color: var(--text-dim);
}

.task-status {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    flex-shrink: 0;
}

.task-status.open {
    background: rgba(255,215,0,0.15);
    color: var(--primary);
}

.task-status.done {
    background: rgba(16,185,129,0.15);
    color: var(--success);
}

/* Task Details */
.task-details {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    padding: 12px;
    background: var(--bg-input);
    border-radius: var(--radius-xs);
}

/* Content Preview */
.content-preview {
    margin-bottom: 14px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-input);
}

.preview-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.preview-video-container iframe,
.preview-video-container video {
    width: 100%;
    height: 100%;
    border: none;
}

.preview-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.preview-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
}

.preview-platform i {
    font-size: 48px;
}

.preview-platform.tiktok i {
    background: linear-gradient(135deg, #00F2EA, #FF0050);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-platform.instagram i {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-platform p,
.preview-external p {
    font-size: 14px;
    color: var(--text-muted);
}

.preview-external {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
}

.preview-external i {
    font-size: 40px;
    color: var(--accent);
}

/* Task Actions */
.task-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.quick-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

.quick-btn.drive {
    background: linear-gradient(135deg, rgba(52,168,83,0.15) 0%, rgba(52,168,83,0.05) 100%);
    border-color: rgba(52,168,83,0.3);
    color: #34A853;
}

.quick-btn.drive:hover {
    background: linear-gradient(135deg, rgba(52,168,83,0.25) 0%, rgba(52,168,83,0.1) 100%);
}

/* Reference Gallery */
.ref-gallery {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.ref-gallery::-webkit-scrollbar {
    display: none;
}

.ref-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.ref-thumb:hover {
    border-color: var(--primary);
}

.ref-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ref-video-icon {
    color: var(--accent);
    font-size: 20px;
}

.ref-error {
    color: var(--text-dim);
    font-size: 20px;
}

.ref-more {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xs);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Task Buttons */
.task-buttons {
    display: flex;
    gap: 10px;
}

.btn-edit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit:hover {
    background: var(--gradient-blue);
    border-color: transparent;
    color: #fff;
}

.btn-delete {
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete:hover {
    background: var(--error);
    border-color: transparent;
    color: #fff;
}

.btn-toggle {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient-gold);
    border: none;
    border-radius: var(--radius-xs);
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.btn-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-toggle.is-done {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-toggle.is-done:hover {
    background: var(--bg-hover);
    box-shadow: none;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 56px;
    color: var(--border);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-muted);
}

/* =====================================================
   CALENDAR VIEW
   ===================================================== */

.calendar-section {
    flex: 1;
    padding: 16px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-nav {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.cal-nav:hover {
    background: var(--bg-elevated);
    border-color: var(--primary);
    color: var(--primary);
}

.cal-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.btn-today {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 16px;
    transition: var(--transition);
}

.btn-today:hover {
    background: rgba(255,215,0,0.1);
    border-color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cal-day {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    min-height: 120px;
}

.cal-day.today {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.02) 100%);
}

.cal-day.past {
    opacity: 0.5;
}

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

.cal-day-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cal-day-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.cal-day.today .cal-day-num {
    color: var(--primary);
}

.cal-day-tasks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cal-task {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-elevated);
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cal-task:hover {
    background: var(--bg-hover);
}

.cal-task.done {
    opacity: 0.5;
    text-decoration: line-through;
}

.cal-task i {
    font-size: 11px;
    color: var(--text-muted);
}

.cal-add {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    font-weight: 700;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 6px;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.cal-add:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,215,0,0.05);
}

/* =====================================================
   BOTTOM NAVIGATION
   ===================================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 16px;
    padding-bottom: calc(10px + var(--safe-bottom));
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    z-index: 200;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 600;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.nav-item i {
    font-size: 20px;
}

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

.nav-item-add {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 400;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow-gold);
    margin-top: -20px;
}

.nav-item-add:hover {
    transform: scale(1.1);
}

/* =====================================================
   ADMIN DASHBOARD
   ===================================================== */

.admin-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.btn-add-model {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient-gold);
    border: none;
    border-radius: var(--radius-sm);
    color: #000;
    cursor: pointer;
    margin-bottom: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-model:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.model-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.model-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.model-card:hover {
    border-color: var(--border-light);
}

.model-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-pink);
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}

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

.model-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.model-code {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.model-code b {
    color: var(--primary);
    font-weight: 600;
}

.model-stats-row {
    display: flex;
    gap: 12px;
}

.stat-open {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.stat-done {
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
}

.model-actions {
    display: flex;
    gap: 8px;
}

.btn-open {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--gradient-gold);
    border: none;
    border-radius: var(--radius-xs);
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.btn-open:hover {
    transform: scale(1.05);
}

.btn-edit-sm,
.btn-delete-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit-sm:hover {
    background: var(--info);
    border-color: transparent;
    color: #fff;
}

.btn-delete-sm:hover {
    background: var(--error);
    border-color: transparent;
    color: #fff;
}

/* =====================================================
   MODALS
   ===================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    padding: 0;
}

@media (min-width: 600px) {
    .modal-overlay {
        align-items: center;
        padding: 20px;
    }
}

.modal {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--bg-card);
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 600px) {
    .modal {
        border-radius: var(--radius);
    }
}

.modal-large {
    max-height: 95vh;
}

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

.modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--error);
    color: #fff;
}

.modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    padding-bottom: calc(16px + var(--safe-bottom));
    border-top: 1px solid var(--border);
}

/* Form Elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 6px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.15);
}

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

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 400px) {
    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.platform-btn {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

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

.platform-btn.active {
    background: var(--gradient-gold);
    border-color: transparent;
    color: #000;
}

/* Reference Inputs */
.ref-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.ref-input-row .form-input {
    flex: 1;
}

.btn-remove-ref {
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-remove-ref:hover {
    background: var(--error);
    border-color: transparent;
    color: #fff;
}

.ref-add-btns {
    display: flex;
    gap: 8px;
}

.btn-upload {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 1px dashed var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-upload:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,215,0,0.05);
}

.btn-add-url {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-url:hover {
    border-color: var(--info);
    color: var(--info);
}

/* Modal Buttons */
.btn-cancel {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--bg-hover);
}

.btn-save {
    flex: 2;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient-gold);
    border: none;
    border-radius: var(--radius-xs);
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save:hover {
    box-shadow: var(--shadow-glow-gold);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-xs);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--error);
    border-color: transparent;
}

/* =====================================================
   LOADING & TOAST
   ===================================================== */

.loading {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--bg-dark);
}

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

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

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

.toast {
    position: fixed;
    bottom: calc(100px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* =====================================================
   GOOGLE DRIVE BROWSER
   ===================================================== */

.drive-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius-xs);
    margin-bottom: 16px;
    font-size: 14px;
}

.drive-breadcrumb i {
    color: var(--text-dim);
    font-size: 10px;
}

.crumb-link {
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.crumb-link:hover {
    color: var(--text);
    text-decoration: underline;
}

.crumb-current {
    color: var(--text);
    font-weight: 600;
}

.drive-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

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

.drive-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.drive-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
    color: var(--text-muted);
}

.drive-empty i {
    font-size: 48px;
    color: var(--border);
}

.drive-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: var(--transition);
}

.drive-item:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
}

.drive-item.folder i {
    font-size: 24px;
    color: var(--primary);
}

.drive-item.file i {
    font-size: 20px;
    color: var(--text-muted);
}

.drive-item.file {
    cursor: default;
    opacity: 0.7;
}

.drive-item.file:hover {
    border-color: var(--border);
    background: var(--bg-elevated);
}

.drive-item-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drive-item-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.drive-item-btn:hover {
    background: var(--info);
    border-color: var(--info);
    color: #fff;
}

.drive-hint {
    padding: 12px 16px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: var(--radius-xs);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.drive-hint i {
    color: var(--warning);
    margin-right: 6px;
}

.drive-footer {
    display: flex;
    gap: 10px;
}

.btn-drive-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    background: var(--gradient-blue);
    border: none;
    border-radius: var(--radius-xs);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.btn-drive-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

.btn-drive-action.date {
    background: var(--gradient-gold);
    color: #000;
}

.btn-drive-action.date:hover {
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}
/* =====================================================
   CONTENT HUB UPLOAD STYLES v9.5
   Füge diesen Code AM ENDE deiner style.css ein
   ===================================================== */

/* Upload Button - Grün */
.btn-drive-action.upload {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
}

.btn-drive-action.upload:hover {
    box-shadow: 0 4px 15px rgba(34,197,94,0.4);
}

/* Drive Footer für 3 Buttons */
.drive-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.drive-footer .btn-drive-action {
    flex: 1;
    min-width: 90px;
}

/* Upload Progress Bar */
.upload-progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22C55E, #16A34A);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* File Icons in Liste */
.drive-item .file-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.drive-item .file-icon.video {
    color: #FF6B9D;
}

.drive-item .file-icon.image {
    color: #3B82F6;
}

/* Dateigröße */
.drive-item-size {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: auto;
}

/* File Items anpassen */
.drive-item.file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: default;
}

.drive-item.file:hover {
    border-color: var(--border);
    background: var(--bg-elevated);
}

/* Mobile */
@media (max-width: 480px) {
    .drive-footer {
        flex-direction: column;
    }
    
    .drive-footer .btn-drive-action {
        width: 100%;
        min-width: unset;
    }
}


/* =====================================================
   LÖSCHEN BUTTON STYLES
   ===================================================== */

.drive-item-btn.delete {
    color: #ff6b6b;
    margin-left: 8px;
}

.drive-item-btn.delete:hover {
    color: #ff4444;
    background: rgba(255, 107, 107, 0.15);
}

.drive-item.file {
    display: flex;
    align-items: center;
}

.drive-item.file .drive-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



/* Upload Dateiname Anzeige */
.upload-filename {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    word-break: break-all;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Upload Warnung */
.upload-warning {
    color: #ffa500;
    font-size: 13px;
    margin-top: 10px;
    font-weight: 500;
}
.upload-warning i {
    margin-right: 5px;
}


/* Langer Toast für Upload-Hinweis */
.toast-long {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 25px 35px;
    border-radius: 20px;
    font-size: 18px;
    text-align: center;
    z-index: 99999;
    line-height: 1.5;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.toast-long small {
    color: #aaa;
    font-size: 14px;
}

.upload-workers {
    font-size: 40px;
    margin-bottom: 10px;
    animation: workersMove 0.5s ease-in-out infinite alternate;
}

@keyframes workersMove {
    0% { transform: translateX(-5px); }
    100% { transform: translateX(5px); }
}


/* Drive Thumbnails */
.drive-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #333;
}

.drive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drive-thumb.no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
}

.drive-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.drive-item.file {
    cursor: pointer;
}

.drive-item.file:hover {
    background: rgba(255,255,255,0.08);
}

/* Preview Modal */
.modal-preview {
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
}

.preview-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #000;
    min-height: 400px;
}

.preview-media {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 0;
}

.preview-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 0;
}


/* Upload Progress Banner (nicht blockierend) */
.upload-progress-banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid #4CAF50;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.upload-progress-banner p {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #4CAF50;
}

.upload-progress-banner i {
    margin-right: 5px;
}


/* Preview Close Button */
.preview-overlay {
    position: relative;
}

.preview-close-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

