/* ============================================
   VIDEO PLATFORM - KOMPLETTES STYLESHEET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #272727;
    --bg-hover: #3f3f3f;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-tertiary: #717171;
    --border-color: #3f3f3f;
    --accent-color: #ff0000;
    --accent-hover: #cc0000;
    --accent-light: rgba(255, 0, 0, 0.1);
    --success-color: #4CAF50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --info-color: #2196F3;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-tertiary: #f0f0f0;
    --bg-hover: #e5e5e5;
    --text-primary: #030303;
    --text-secondary: #606060;
    --text-tertiary: #909090;
    --border-color: #e0e0e0;
    --accent-light: rgba(255, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background var(--transition-normal), color var(--transition-normal);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 6px;
    border: 3px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    max-width: 600px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-color), #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    background: linear-gradient(135deg, var(--accent-color), #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
    min-width: 0;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-primary);
}

.search-btn {
    padding: 8px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    background: var(--bg-hover);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.header-btn:hover {
    background: var(--bg-hover);
}

.theme-toggle-btn {
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn i {
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(30deg);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

/* User Dropdown */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1001;
}

.user-menu:hover .user-dropdown,
.user-dropdown:hover {
    display: block;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.dropdown-username {
    font-weight: 600;
    font-size: 14px;
}

.dropdown-email {
    color: var(--text-secondary);
    font-size: 12px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.user-dropdown a:hover {
    background: var(--bg-hover);
}

.user-dropdown a i {
    width: 20px;
    color: var(--text-secondary);
}

.dropdown-logout {
    color: #f44336 !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.btn-danger {
    padding: 12px 24px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    width: 100%;
    justify-content: center;
}

/* ============================================
   MAIN CONTAINER & LAYOUT
   ============================================ */
.main-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 24px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

/* ============================================
   FILTERS / KATEGORIEN
   ============================================ */
.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: var(--bg-hover);
}

.filter-btn.active {
    background: var(--accent-color);
    color: white;
}

/* ============================================
   VIDEOS GRID
   ============================================ */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.video-card {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    overflow: hidden;
    animation: fadeIn 0.5s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.05s; }
.video-card:nth-child(2) { animation-delay: 0.1s; }
.video-card:nth-child(3) { animation-delay: 0.15s; }
.video-card:nth-child(4) { animation-delay: 0.2s; }
.video-card:nth-child(5) { animation-delay: 0.25s; }
.video-card:nth-child(6) { animation-delay: 0.3s; }
.video-card:nth-child(7) { animation-delay: 0.35s; }
.video-card:nth-child(8) { animation-delay: 0.4s; }

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.video-hover-info {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: white;
    font-weight: 600;
    font-size: 16px;
    gap: 8px;
    pointer-events: none;
}

.video-card:hover .video-hover-info {
    opacity: 1;
}

.video-info {
    display: flex;
    gap: 12px;
    padding: 12px 8px;
}

.channel-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    object-fit: cover;
    flex-shrink: 0;
}

.video-details {
    flex: 1;
    min-width: 0;
}

.video-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-card-channel {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-icon,
.verified-badge-icon {
    color: #606060;
    font-size: 12px;
}

.verified-badge-icon {
    font-size: 20px;
}

.video-card-meta {
    color: var(--text-tertiary);
    font-size: 12px;
}

/* Video Owner Actions */
.video-card-wrapper {
    position: relative;
}

.video-owner-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.video-card-wrapper:hover .video-owner-actions {
    opacity: 1;
}

.video-action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.edit-btn {
    background: rgba(33, 150, 243, 0.9);
    color: white;
}

.edit-btn:hover {
    background: rgba(33, 150, 243, 1);
    transform: scale(1.1);
}

.delete-btn {
    background: rgba(244, 67, 54, 0.9);
    color: white;
}

.delete-btn:hover {
    background: rgba(244, 67, 54, 1);
    transform: scale(1.1);
}

.visibility-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

.visibility-badge.private {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.visibility-badge.unlisted {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.edit-video-form {
    background: var(--bg-primary);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 12px;
}

.video-edit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edit-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ============================================
   AUTH PAGES (Login/Register)
   ============================================ */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 64px);
    padding: 24px;
}

.auth-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.auth-box h1 {
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-box h1 i {
    color: var(--accent-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

.auth-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

/* ============================================
   UPLOAD PAGE
   ============================================ */
.upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

.upload-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.upload-box h1 {
    font-size: 28px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-box h1 i {
    color: var(--accent-color);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.file-upload {
    position: relative;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
    background: var(--bg-tertiary);
}

.file-upload:hover .file-upload-area,
.file-upload-area.dragover {
    border-color: var(--accent-color);
    background: var(--bg-primary);
}

.file-upload-area.dragover {
    background: var(--accent-light) !important;
    transform: scale(1.02);
}

.file-upload-area i {
    font-size: 48px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    display: block;
}

.file-upload-area p {
    color: var(--text-secondary);
    font-size: 14px;
}

.char-count {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: right;
}

.video-preview {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.video-preview video {
    width: 100%;
    border-radius: var(--radius-sm);
    background: #000;
}

.file-name {
    color: var(--text-primary);
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.file-size {
    color: var(--text-secondary);
    font-size: 12px;
}

.image-preview {
    margin-top: 16px;
    text-align: center;
}

.upload-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 8px 0;
}

.upload-info h3 {
    color: var(--info-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.upload-info ul {
    margin: 0;
    padding-left: 24px;
}

.upload-info li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
}

.upload-progress {
    margin: 16px 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressPulse 1.5s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.file-upload-small {
    position: relative;
    display: inline-block;
}

.file-upload-small input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* ============================================
   CHANNEL PAGE
   ============================================ */
.channel-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 24px;
}

.channel-banner {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.channel-banner-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.channel-info {
    flex: 1;
}

.channel-info h1 {
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-stats {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.channel-description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.channel-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.subscribe-btn {
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscribe-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.subscribe-btn.subscribed {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Channel Tabs */
.channel-tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    padding-bottom: 0;
}

.channel-tab {
    padding: 12px 0;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-tab:hover {
    color: var(--text-primary);
}

.channel-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-color);
}

.channel-tab-content {
    display: none;
}

.channel-tab-content.active {
    display: block;
}

/* About Tab */
.about-section {
    max-width: 800px;
}

.about-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.about-label {
    display: block;
    color: var(--text-tertiary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.about-value {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.about-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   NOTIFICATIONS PAGE
   ============================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.unread {
    background: var(--accent-light);
    border-color: var(--accent-color);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-time {
    color: var(--text-tertiary);
    font-size: 12px;
}

.no-notifications {
    text-align: center;
    padding: 40px;
    color: var(--text-tertiary);
}

/* ============================================
   SETTINGS PAGE
   ============================================ */
.settings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 32px;
    min-height: calc(100vh - 64px);
}

.settings-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 88px;
}

.settings-sidebar h2 {
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.settings-nav-item:hover {
    background: var(--bg-hover);
}

.settings-nav-item.active {
    background: var(--accent-color);
    color: white;
}

.settings-nav-item.danger-item {
    color: #f44336;
}

.settings-nav-item.danger-item:hover {
    background: rgba(244, 67, 54, 0.1);
}

.settings-nav-item.danger-item.active {
    background: #f44336;
    color: white;
}

.settings-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-section h3 {
    font-size: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.settings-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.settings-card h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inline-form {
    display: inline-block;
}

.avatar-upload-area {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.current-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.avatar-info p,
.banner-info p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 4px;
}

.current-banner {
    width: 100%;
    max-height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.current-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-switch-wrapper {
    display: flex;
    gap: 12px;
}

.theme-option {
    flex: 1;
    padding: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.theme-option i {
    font-size: 32px;
}

.theme-option:hover,
.theme-option.active {
    border-color: var(--accent-color);
}

.theme-option.active {
    background: var(--accent-light);
}

.danger-card {
    border-color: rgba(244, 67, 54, 0.3);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ============================================
   HERO BANNER (für index.php)
   ============================================ */
.hero-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

[data-theme="light"] .hero-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-channel {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-description {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-play {
    padding: 14px 32px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255,0,0,0.4);
}

.btn-play:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,0,0,0.6);
}

.hero-stats {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-thumbnail-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block;
    transition: transform var(--transition-normal);
}

.hero-thumbnail-wrapper:hover {
    transform: scale(1.02);
}

.hero-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.hero-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.hero-thumbnail-wrapper:hover .hero-play-overlay {
    background: rgba(0,0,0,0.5);
}

.hero-play-overlay i {
    font-size: 64px;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-slow);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.hero-thumbnail-wrapper:hover .hero-play-overlay i {
    opacity: 1;
    transform: scale(1);
}

[data-theme="light"] .hero-play-overlay i {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* ============================================
   CONTENT TOOLBAR & SEARCH RESULTS
   ============================================ */
.content-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 20px;
    flex-wrap: wrap;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    flex-shrink: 0;
}

.sort-select {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-results-header {
    margin-bottom: 32px;
}

.search-results-header h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.result-count {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-color);
}

.pagination-pages {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-num {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination-num:hover {
    background: var(--bg-hover);
}

.pagination-num.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination-dots {
    color: var(--text-tertiary);
    padding: 0 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 64px;
    padding: 48px 24px 24px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,0,0,0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-thumbnail-wrapper {
        order: -1;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 12px;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .search-bar {
        max-width: 200px;
    }
    
    .search-input {
        font-size: 12px;
    }
    
    .main-container,
    .container,
    .channel-container,
    .upload-container {
        padding: 16px 8px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .auth-box,
    .upload-box {
        padding: 24px;
    }
    
    .channel-banner {
        height: 150px;
    }
    
    .channel-header {
        flex-direction: column;
        text-align: center;
    }
    
    .channel-banner-avatar {
        width: 80px;
        height: 80px;
    }
    
    .channel-info h1 {
        font-size: 24px;
    }
    
    .filters {
        gap: 4px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-banner {
        padding: 32px 16px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .btn-play {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .content-toolbar {
        flex-direction: column;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-select {
        flex: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-section h4 {
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .settings-container {
        grid-template-columns: 1fr;
    }
    
    .settings-sidebar {
        position: static;
    }
    
    .settings-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .settings-nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar-upload-area {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .theme-switch-wrapper {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 56px;
    }
    
    .search-bar {
        display: none;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 22px;
    }
    
    .btn-secondary {
        display: none;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .hero-description {
        display: none;
    }
    
    .pagination-pages {
        gap: 4px;
    }
    
    .pagination-num {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-tertiary);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 16px;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px 8px;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}
/* Edit Overlay & Modal */
.edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.edit-video-modal {
    background: var(--bg-primary);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.edit-video-modal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-left i {
    font-size: 20px;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.modal-header-left h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close-btn {
    background: var(--bg-hover);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    font-size: 18px;
}

.modal-close-btn:hover {
    background: var(--danger-color);
    color: white;
}

/* Modal Body */
.modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 160px);
}

.edit-video-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 16/9;
    background: #000;
}

.edit-video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.video-duration-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Enhanced Form Elements */
.form-group.enhanced {
    margin-bottom: 20px;
    position: relative;
}

.form-group.enhanced label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group.enhanced label i {
    color: var(--primary-color);
    font-size: 14px;
}

.enhanced-input,
.enhanced-textarea,
.enhanced-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.enhanced-input:focus,
.enhanced-textarea:focus,
.enhanced-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.enhanced-textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    position: absolute;
    right: 12px;
    bottom: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
}

.form-row-enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Video Stats */
.video-stats-display {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Modal Footer */
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.footer-right {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-danger-outline {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-color-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-danger-outline {
    background: transparent;
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
}

.btn-danger-outline:hover {
    background: var(--danger-color);
    color: white;
}

        .comment-avatar-link {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            display: block;
        }

        .comment-avatar-link img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            transition: opacity 0.2s;
        }

        .comment-avatar-link:hover img {
            opacity: 0.8;
        }

        .comment-author-link {
            text-decoration: none;
            color: inherit;
        }

        .comment-author-link:hover .comment-author {
            text-decoration: underline;
        }
/* Responsive */
@media (max-width: 768px) {
    .edit-video-modal {
        width: 95%;
        margin: 10px;
    }
    
    .form-row-enhanced {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
    }
    
    .footer-right {
        flex-direction: row;
    }
}
/* Passwort vergessen Link */
.forgot-password {
    text-align: center;
    margin: 15px 0;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Alert Styles für Erfolgsmeldungen */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.dark-mode .alert-success {
    background: #1a4a1a;
    color: #9bff9b;
}

/* Auth Info Text */
.auth-info {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.dark-mode .auth-info {
    color: #a0a0a0;
}