/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Default Dark Theme */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Colors */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Dark Theme */
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-hover: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;
    
    /* Borders and Shadows */
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Light Theme - Removed for simplicity */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme transition animations */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: -1;
    overflow: hidden;
}

.animated-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    transition: background 0.3s ease;
}

/* Light theme background - Removed for simplicity */

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-10px); }
    50% { transform: translateX(20px) translateY(10px); }
    75% { transform: translateX(-10px) translateY(20px); }
}

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-glass);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.logo:hover {
    background: var(--bg-glass);
    transform: translateY(-1px);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.logo:hover .logo-icon::before {
    transform: translateX(100%);
}

.logo-dots {
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-dots span {
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: logoDots 2s ease-in-out infinite;
}

.logo-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.logo-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes logoDots {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.logo:hover .logo-text {
    transform: translateX(3px);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.path-indicator {
    background: var(--bg-glass);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-header:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-header.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-header.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Main Content */
.main-content {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search */
.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Stats Section */
.stats-section {
    margin-bottom: 2rem;
}

.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    transform: translateX(4px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.selected-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
}

.selected-label {
    color: rgba(255, 255, 255, 0.9);
}

.selected-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: white;
}

/* Filter Section */
.filter-section {
    margin-bottom: 2rem;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.filter-item:hover {
    background: var(--bg-glass);
}

.filter-item.active {
    background: var(--primary-gradient);
    color: white;
}

.filter-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.filter-item span:first-of-type {
    flex: 1;
    font-size: 0.9rem;
}

.filter-count {
    background: var(--bg-glass);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.filter-item.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Date Filters */
.date-filters {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-filter-item {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.date-filter-item:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

/* Main Area */
.main-area {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--bg-primary);
}

/* Upload Section */
.upload-section {
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.upload-area:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.upload-area:hover::before {
    opacity: 0.05;
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--bg-glass-hover);
    transform: scale(1.02);
}

.upload-content {
    position: relative;
    z-index: 1;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

.upload-area h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Upload Progress */
.upload-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    width: 0%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Upload Actions */
.upload-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-upload {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-upload:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* File Display Area */
.file-display-area {
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.file-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.view-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.sort-options select {
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* File List */
.file-list {
    min-height: 400px;
    padding: 1.5rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* File Items */
.file-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.file-item:hover {
    background: var(--bg-glass);
    transform: translateX(4px);
}

.file-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    color: white;
    font-size: 1.1rem;
}

.file-icon.folder-icon {
    background: var(--secondary-gradient);
}

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

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.file-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.file-action {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-glass);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-action:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.file-action.download:hover {
    background: var(--success-color);
    color: white;
}

.file-action.delete:hover {
    background: var(--danger-color);
    color: white;
}

.file-action.move:hover {
    background: var(--primary-color);
    color: white;
}

.file-action.open:hover {
    background: var(--accent-color);
    color: white;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--bg-glass);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.fab.fab-primary {
    background: var(--success-color);
    color: white;
    border: none;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    z-index: 50;
}

.time-display {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Fira Code', monospace;
}

.date-display {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Fira Code', monospace;
}

/* Delete Confirm Modal */
.btn-danger {
    background: #ef4444;
    color: white;
    border: 1px solid #dc2626;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

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

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.modal-body input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-1px);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

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

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

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

/* Success Animation */
.success-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3000;
}

/* Login Page Styles */
.login-body {
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.login-theme-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 20;
}

.login-theme-toggle .btn-header {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-glass);
}

.login-card {
    background: var(--bg-glass);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.05;
    z-index: -1;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-lg);
}

.login-header h1 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-options {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    gap: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    background: var(--bg-glass);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-footer {
    text-align: center;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        z-index: 200;
        transition: var(--transition);
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .main-area {
        padding: 1rem;
    }
    
    .header {
        padding: 1rem;
    }
    
    .header-right {
        gap: 0.25rem;
    }
    
    .btn-header span {
        display: none;
    }
    
    .floating-actions {
        right: 1rem;
        bottom: 1rem;
        top: auto;
        transform: none;
        flex-direction: row;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-glass) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced loading states */
.file-loading {
    opacity: 0.6;
    pointer-events: none;
}

.file-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Performance optimizations */
.file-item {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Smooth scrolling */
.file-list {
    scroll-behavior: smooth;
}

/* Optimized animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Theme-specific particle colors - Removed for simplicity */

/* File Preview Modal */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.preview-modal.show {
    display: flex;
}

.preview-modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 1200px;
    height: 80%;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.preview-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

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

.preview-controls {
    display: flex;
    gap: 8px;
}

.preview-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.preview-btn:hover {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

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

.preview-body {
    flex: 1;
    padding: 20px;
    overflow: auto;
    position: relative;
    background: var(--bg-primary);
}

.preview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-secondary);
    gap: 16px;
}

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

.preview-loading p {
    font-size: 16px;
    margin: 0;
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--header-bg);
}

.preview-info {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.preview-actions {
    display: flex;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .preview-modal-content {
        width: 95%;
        height: 90%;
        margin: 20px;
    }
    
    .preview-header {
        padding: 15px;
    }
    
    .preview-title {
        font-size: 16px;
    }
    
    .preview-body {
        padding: 15px;
    }
    
    .preview-footer {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }
    
    .preview-info {
        justify-content: center;
    }
}

/* Preview Content Styles */
.preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.preview-placeholder {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.preview-placeholder i {
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.preview-placeholder h3 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.preview-placeholder p {
    margin: 8px 0;
    font-size: 16px;
}

.preview-placeholder .btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 16px;
}

/* Image Preview Styles */
.image-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.image-preview-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: grab;
    user-select: none;
    transition: transform 0.3s ease;
}

.preview-image:active {
    cursor: grabbing;
}

.image-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: var(--header-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.preview-control-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-control-btn:hover {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

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

/* Video Preview Styles - REMOVED */

/* Responsive Design for Preview */
@media (max-width: 768px) {
    .image-controls,
    /* Video controls removed */
    
    .preview-control-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .preview-image {
        max-height: 60vh;
    }
    
    /* Preview video removed */
}

/* PDF Preview Styles */
.pdf-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.pdf-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--header-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.pdf-page-info {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.pdf-zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-zoom-level {
    color: var(--text-secondary);
    font-size: 12px;
    min-width: 40px;
    text-align: center;
}

.pdf-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pdf-btn:hover:not(:disabled) {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

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

.pdf-viewer-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.pdf-canvas {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.pdf-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-secondary);
}

/* Text Preview Styles */
.text-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.text-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--header-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.text-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.text-info {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.text-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.text-btn:hover {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.text-content-container {
    flex: 1;
    overflow: auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
}

.text-content {
    margin: 0;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary) !important; /* Text dosyalarında renk zorla */
    white-space: pre;
    overflow: auto;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

/* Text dosyalarında syntax highlighting'i devre dışı bırak */
.text-content * {
    color: var(--text-primary) !important;
    font-weight: normal !important;
}

/* Markdown Preview Styles */
.markdown-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-primary);
}

.markdown-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.markdown-controls {
    display: flex;
    gap: 10px;
}

.markdown-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.markdown-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-color);
}

.markdown-btn.active {
    background: var(--accent-color);
    color: white;
}

.markdown-info {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-secondary);
}

.markdown-content-container {
    flex: 1;
    overflow: auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
}

.markdown-content {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-wrap;
    overflow: auto;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.markdown-content h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.3em;
}

.markdown-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.83em 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.3em;
}

.markdown-content h3 {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
    color: var(--text-primary);
}

.markdown-content strong {
    font-weight: bold;
    color: var(--text-primary);
}

.markdown-content em {
    font-style: italic;
    color: var(--text-primary);
}

.markdown-content code {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 2px 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-color);
}

.markdown-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-secondary);
}

.markdown-loading i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.text-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-secondary);
}

/* Mark highlighting */
mark {
    background-color: #ffeb3b;
    color: #000;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Responsive Design for PDF & Text */
@media (max-width: 768px) {
    .pdf-toolbar,
    .text-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .pdf-zoom-controls,
    .text-controls {
        justify-content: center;
    }
    
    .pdf-btn,
    .text-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .text-content {
        font-size: 12px;
        padding: 15px;
    }
}

/* Code Preview Styles */
.code-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.code-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--header-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.code-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.code-info {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.code-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.code-btn:hover {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.code-content-container {
    flex: 1;
    overflow: auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
}

.code-content {
    margin: 0;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    white-space: pre;
    overflow: auto;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.code-content.dark-theme {
    background: #1e1e1e;
    color: #d4d4d4;
}

.code-content.light-theme {
    background: #ffffff;
    color: #333333;
}

/* Enhanced Syntax Highlighting */
.code-content {
    /* Python */
    --py-keyword: #569cd6;
    --py-string: #ce9178;
    --py-comment: #6a9955;
    --py-number: #b5cea8;
    --py-function: #dcdcaa;
    --py-class: #4ec9b0;
    --py-operator: #d4d4d4;
}

/* Python syntax highlighting */
.code-content.dark-theme {
    background: #1e1e1e;
    color: #d4d4d4;
}

.code-content.light-theme {
    background: #ffffff;
    color: #333333;
}

/* JavaScript syntax highlighting */
.code-content[data-language="javascript"] {
    --js-keyword: #569cd6;
    --js-string: #ce9178;
    --js-comment: #6a9955;
    --js-number: #b5cea8;
    --js-function: #dcdcaa;
    --js-operator: #d4d4d4;
}

/* CSS syntax highlighting */
.code-content[data-language="css"] {
    --css-selector: #d7ba7d;
    --css-property: #9cdcfe;
    --css-value: #ce9178;
    --css-comment: #6a9955;
}

/* Syntax highlighting colors */
.py-keyword, .js-keyword {
    color: #569cd6;
    font-weight: bold;
}

.py-string, .js-string, .css-value {
    color: #ce9178;
}

.py-comment, .js-comment, .css-comment {
    color: #6a9955;
    font-style: italic;
}

.py-number, .js-number {
    color: #b5cea8;
}

.py-function, .js-function {
    color: #dcdcaa;
}

.py-class {
    color: #4ec9b0;
}

.css-selector {
    color: #d7ba7d;
    font-weight: bold;
}

.css-property {
    color: #9cdcfe;
}

.code-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-secondary);
}

/* Data Preview Styles */
.data-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.data-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--header-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.data-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.data-info {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.data-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.data-btn:hover {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.data-content-container {
    flex: 1;
    overflow: auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.data-content {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

/* JSON Tree Styles */
.json-tree {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.json-object {
    color: #569cd6;
    margin-left: 20px;
}

.json-array {
    color: #4ec9b0;
    margin-left: 20px;
}

.json-property {
    margin-left: 20px;
}

.json-key {
    color: #9cdcfe;
    font-weight: bold;
}

.json-value {
    color: #ce9178;
}

.json-item {
    margin-left: 20px;
}

/* Formatted Data Styles */
.json-formatted {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

.xml-formatted {
    background: #f8f8f8;
    color: #333;
    padding: 15px;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

.yaml-formatted {
    background: #f8f8f8;
    color: #333;
    padding: 15px;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

.csv-formatted {
    background: #f8f8f8;
    color: #333;
    padding: 15px;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

.error {
    color: #f44747;
    background: #2d1b1b;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #f44747;
}

/* Responsive Design for Code & Data */
@media (max-width: 768px) {
    .code-toolbar,
    .data-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .code-controls,
    .data-controls {
        justify-content: center;
    }
    
    .code-btn,
    .data-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .code-content,
    .data-content {
        font-size: 12px;
        padding: 15px;
    }
    
    .json-formatted,
    .xml-formatted,
    .yaml-formatted,
    .csv-formatted {
        font-size: 11px;
        padding: 10px;
    }
}

/* Office Document Preview Styles */
.document-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.document-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--header-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.document-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.document-info {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.document-btn {
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.document-btn:hover {
    background: var(--button-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.document-content-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
}

.document-preview-wrapper {
    text-align: center;
    max-width: 500px;
}

.document-preview-placeholder {
    padding: 40px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.document-icon {
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.document-preview-placeholder h3 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.document-preview-placeholder p {
    color: var(--text-secondary);
    margin: 8px 0;
    font-size: 16px;
}

.document-description {
    font-size: 14px !important;
    line-height: 1.5;
    margin: 20px 0 !important;
}

.document-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.document-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-secondary);
}

/* Final Optimizations */
.preview-modal {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preview-modal-content {
    animation: slideIn 0.3s ease-out;
}

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

/* Performance Optimizations */
.preview-image,
.pdf-canvas {
    will-change: transform;
}

.preview-content,
.code-content,
.text-content,
.data-content {
    contain: layout style paint;
}

/* Accessibility Improvements */
.preview-btn:focus,
.code-btn:focus,
.text-btn:focus,
.data-btn:focus,
.document-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.preview-modal[aria-hidden="true"] {
    display: none;
}

/* Print Styles */
@media print {
    .preview-modal {
        position: static;
        background: white;
    }
    
    .preview-modal-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .preview-header,
    .preview-footer,
    .pdf-toolbar,
    .text-toolbar,
    .code-toolbar,
    .data-toolbar,
    .document-toolbar {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .preview-modal {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .preview-modal-content {
        border: 2px solid #fff;
    }
    
    .preview-btn,
    .code-btn,
    .text-btn,
    .data-btn,
    .document-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .preview-modal,
    .preview-modal-content,
    .preview-btn,
    .code-btn,
    .text-btn,
    .data-btn,
    .document-btn {
        animation: none;
        transition: none;
    }
}

/* Responsive Design for Office & Final */
@media (max-width: 768px) {
    .document-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .document-controls {
        justify-content: center;
    }
    
    .document-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .document-preview-placeholder {
        padding: 20px;
    }
    
    .document-icon {
        font-size: 48px;
    }
    
    .document-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .document-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}


/* Video.js Player Styles - REMOVED */

/* Video player CSS removed */

/* Video.js Custom Theme - REMOVED */

/* ALL VIDEO CSS REMOVED */

/* ALL VIDEO CSS REMOVED */

/* BASIT VIDEO PLAYER CSS */
.video-preview-container {
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-preview {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    background: #000;
}

/* VANILLA JS VIDEO PLAYER CSS */
.player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.player {
    max-width: 100%;
    border: 5px solid rgba(0,0,0,0.2);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    position: relative;
    font-size: 0;
    overflow: hidden;
}

.player:fullscreen {
    max-width: none;
    width: 100%;
}

.player:-webkit-full-screen {
    max-width: none;
    width: 100%;
}

.player__video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    cursor: pointer;
    background: #000;
}

.player__button {
    background: none;
    border: 0;
    line-height: 1;
    color: white;
    text-align: center;
    outline: 0;
    padding: 0;
    cursor: pointer;
    max-width: 50px;
}

.player__button:focus {
    border-color: #ffc600;
}

.player__slider {
    width: 10px;
    height: 30px;
}

.player__controls {
    display: flex;
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateY(100%) translateY(-5px);
    transition: all .3s;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.1);
}

.player:hover .player__controls {
    transform: translateY(0);
}

.player:hover .progress {
    height: 15px;
}

.player__controls > * {
    flex: 1;
}

.progress {
    flex: 10;
    position: relative;
    display: flex;
    flex-basis: 100%;
    height: 5px;
    transition: height 0.3s;
    background: rgba(0,0,0,0.5);
    cursor: ew-resize;
}

.progress__filled {
    width: 50%;
    background: #ffc600;
    flex: 0;
    flex-basis: 50%;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    width: 100%;
    margin: 0 5px;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
    background: rgba(255,255,255,0.8);
    border-radius: 1.3px;
    border: 0.2px solid rgba(1, 1, 1, 0);
}

input[type=range]::-webkit-slider-thumb {
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background: #ffc600;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -3.5px;
    box-shadow:0 0 2px rgba(0,0,0,0.2);
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #bada55;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
    background: #ffffff;
    border-radius: 1.3px;
    border: 0.2px solid rgba(1, 1, 1, 0);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background: #ffc600;
    cursor: pointer;
}

.full-screen {
    transition: 150ms;
    position: absolute;
    top: 10px;
    right: 10px;
    height: 40px;
    width: 40px;
    background-color: gray;
    border-color: transparent;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    cursor: pointer;
    z-index: 1;
}

.full-screen:hover {
    background-color: rgba(255, 255, 255, 1);
}

@media (hover: hover) {
    .full-screen {
        opacity: 0;
    }
    .player-container:hover .full-screen {
        opacity: 1;
    }
}

/* Video player responsive */
@media (max-width: 768px) {
    .player__controls {
        padding: 10px 5px 5px;
    }
    
    .player__button {
        max-width: 40px;
        font-size: 14px;
    }
    
    .player__slider {
        width: 8px;
        height: 25px;
    }
    
    .full-screen {
        height: 35px;
        width: 35px;
        padding: 6px;
    }
}

/* PDF Preview Styles */
.pdf-preview-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-canvas {
    flex: 1;
    width: 100%;
    height: auto;
    max-height: 70vh;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.pdf-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.pdf-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.pdf-btn:hover {
    background: #0056b3;
}

.pdf-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.pdf-page-info {
    font-weight: 500;
    color: #333;
    min-width: 120px;
    text-align: center;
}

/* Document Preview Styles */
.document-preview-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
}

.document-preview-content {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.document-icon-large {
    font-size: 80px;
    color: #007bff;
    margin-bottom: 20px;
}

.document-preview-content h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.document-preview-content h3 {
    color: #666;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
}

.document-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.document-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.document-actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.document-actions .btn-primary {
    background: #007bff;
    color: white;
}

.document-actions .btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.document-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.document-actions .btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.document-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.document-info p {
    margin: 8px 0;
    color: #555;
    font-size: 14px;
}

.document-info strong {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pdf-controls {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }
    
    .pdf-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .pdf-page-info {
        min-width: 100px;
        font-size: 12px;
    }
    
    .document-preview-iframe {
        height: 60vh;
    }
    
    .document-fallback {
        padding: 20px;
        margin: 10px;
    }
    
    .document-icon {
        font-size: 36px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

.select-none { user-select: none; }
.select-text { user-select: text; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Code Editor Styles */
.code-editor-modal {
    max-width: 98vw;
    max-height: 98vh;
    width: 95vw;
    height: 95vh;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.code-editor-body {
    padding: 0;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
}

.editor-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editor-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-language {
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.editor-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editor-tabs {
    display: flex;
    background: #2d2d30;
    border-bottom: 1px solid #3e3e42;
    overflow-x: auto;
}

.editor-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #2d2d30;
    border-right: 1px solid #3e3e42;
    color: #cccccc;
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 120px;
    position: relative;
}

.editor-tab:hover {
    background: #3e3e42;
}

.editor-tab.active {
    background: #1e1e1e;
    color: #ffffff;
}

.tab-close {
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.tab-close:hover {
    background: #3e3e42;
    color: #ffffff;
}

.editor-workspace {
    display: flex;
    flex: 1;
    height: calc(100% - 50px);
}

.editor-main {
    flex: 1;
    position: relative;
}

#monacoEditor {
    width: 100%;
    height: 100%;
}

.editor-sidebar {
    width: 400px;
    background: #252526;
    border-left: 1px solid #3e3e42;
    display: flex;
    flex-direction: column;
}

.file-explorer, .terminal-container {
    flex: 1;
    padding: 1rem;
    border-bottom: 1px solid #3e3e42;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.btn-clear-terminal {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s;
}

.btn-clear-terminal:hover {
    background: #c82333;
}

.file-explorer h4, .terminal-container h4 {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-tree {
    color: #cccccc;
    font-size: 0.85rem;
}

.terminal {
    background: #0c0c0c;
    color: #00ff00;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    padding: 1rem;
    border-radius: 4px;
    height: 300px;
    min-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    border: 1px solid #3e3e42;
    line-height: 1.4;
}

/* Code file icons */
.file-icon.code-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.file-icon.code-icon.python {
    background: linear-gradient(135deg, #3776ab 0%, #ffd43b 100%);
}

.file-icon.code-icon.javascript {
    background: linear-gradient(135deg, #f7df1e 0%, #000000 100%);
}

.file-icon.code-icon.typescript {
    background: linear-gradient(135deg, #3178c6 0%, #ffffff 100%);
}

.file-icon.code-icon.cpp {
    background: linear-gradient(135deg, #00599c 0%, #004482 100%);
}

.file-icon.code-icon.c {
    background: linear-gradient(135deg, #a8b9cc 0%, #00599c 100%);
}

.file-icon.code-icon.java {
    background: linear-gradient(135deg, #007396 0%, #ed8b00 100%);
}

.file-icon.code-icon.html {
    background: linear-gradient(135deg, #e34f26 0%, #f06529 100%);
}

.file-icon.code-icon.css {
    background: linear-gradient(135deg, #1572b6 0%, #33a9dc 100%);
}

.file-icon.code-icon.json {
    background: linear-gradient(135deg, #f7df1e 0%, #000000 100%);
}

.file-icon.code-icon.xml {
    background: linear-gradient(135deg, #ff6600 0%, #ff9900 100%);
}

.file-icon.code-icon.yaml {
    background: linear-gradient(135deg, #cb171e 0%, #ff6b6b 100%);
}

.file-icon.code-icon.sql {
    background: linear-gradient(135deg, #336791 0%, #4a90e2 100%);
}

.file-icon.code-icon.php {
    background: linear-gradient(135deg, #777bb4 0%, #8892bf 100%);
}

.file-icon.code-icon.go {
    background: linear-gradient(135deg, #00add8 0%, #5dc9e2 100%);
}

.file-icon.code-icon.rust {
    background: linear-gradient(135deg, #000000 0%, #ce422b 100%);
}

/* Code file actions */
.file-action.edit-code {
    background: #3b82f6 !important;
    color: white !important;
    border: 2px solid #2563eb !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
}

.file-action.edit-code:hover {
    background: #2563eb !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.5) !important;
}

.file-action.run-code {
    background: #10b981 !important;
    color: white !important;
    border: 2px solid #059669 !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3) !important;
}

.file-action.run-code:hover {
    background: #059669 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.5) !important;
}

/* Mobile responsive for code editor */
@media (max-width: 768px) {
    .code-editor-modal {
        max-width: 98vw;
        max-height: 98vh;
        width: 100%;
    }
    
    .editor-workspace {
        flex-direction: column;
    }
    
    .editor-sidebar {
        width: 100%;
        height: 200px;
        border-left: none;
        border-top: 1px solid #3e3e42;
    }
    
    .editor-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .editor-tab {
        min-width: 100px;
        font-size: 0.8rem;
    }
    
    .editor-header-right {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .btn-header span {
        display: none;
    }
}

/* ========================================
   WebSocket Terminal Stilleri
   ======================================== */

.terminal-output {
    margin: 0;
    padding: 0.25rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terminal-output.info {
    color: #60a5fa; /* Blue for info */
}

.terminal-output.success {
    color: #34d399; /* Green for success */
}

.terminal-output.error {
    color: #f87171; /* Red for error */
}

.terminal-output.warning {
    color: #fbbf24; /* Yellow for warning */
}

/* Terminal scrollbar */
#terminal::-webkit-scrollbar {
    width: 6px;
}

#terminal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

#terminal::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

#terminal::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}