/* Sidebar */
.sidebar { 
    width: 220px; 
    flex-shrink: 0; 
    background: #ffffff; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    padding: 16px; 
    display: block; 
} 
.sidebar h3 { 
    margin: 0 0 12px 0; 
    font-size: 1rem; 
    color: #1e293b; 
    padding-bottom: 8px; 
    border-bottom: 1px solid #e2e8f0; 
} 
.sidebar-nav { list-style: none; padding: 0; margin: 0; } 
.sidebar-nav li { margin-bottom: 6px; } 
.sidebar-nav a { 
    display: block; 
    padding: 8px 12px; 
    color: #475569; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 500; 
    font-size: 0.9rem; 
    transition: background 0.15s ease, color 0.15s ease; 
} 
.sidebar-nav a:hover { background-color: #f1f5f9; color: #2563eb; } 

/* Header & Controls */
.header { 
    background-color: #1e293b; 
    color: #fff; 
    padding: 16px 20px; 
    display: flex; 
    align-items: center; 
    border-top-left-radius: 8px; 
    border-top-right-radius: 8px; 
    gap: 12px; 
} 
.header-controls { display: flex; align-items: center; gap: 8px; } 
.breadcrumb { font-family: monospace; color: #94a3b8; font-size: 0.9rem; word-break: break-all; } 
.breadcrumb strong { color: #f8fafc; } 
.btn-toggle-sidebar { 
    display: none; 
    background-color: #334155; 
    color: #f8fafc; 
    border: 1px solid #475569; 
    padding: 8px 12px; 
    border-radius: 6px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: pointer; 
    flex-shrink: 0; 
} 
.btn-toggle-sidebar:hover { background-color: #475569; } 

/* Upload Panel */
.upload-panel { background: #f8fafc; padding: 15px 20px; border-bottom: 1px solid #e2e8f0; } 
.upload-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } 
.btn-action { 
    background-color: #2563eb; 
    color: #fff; 
    border: none; 
    padding: 10px 18px; 
    border-radius: 6px; 
    font-weight: 600; 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
} 
.btn-action.btn-secondary { background-color: #475569; } 
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 12px; font-size: 0.9rem; } 
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; } 
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; } 

#uploadProgressBox { 
    display: none; 
    margin-top: 15px; 
    background: #e0f2fe; 
    border: 1px solid #bae6fd; 
    padding: 14px; 
    border-radius: 6px; 
    color: #0369a1; 
    font-size: 0.9rem; 
    font-weight: 500; 
} 
.progress-track { width: 100%; height: 12px; background-color: #bae6fd; border-radius: 6px; overflow: hidden; margin-top: 8px; } 
.progress-fill { width: 0%; height: 100%; background-color: #0284c7; transition: width 0.15s ease-in-out; } 
.progress-details { display: flex; justify-content: space-between; font-size: 0.85rem; margin-top: 6px; color: #0369a1; } 

@media (max-width: 768px) { 
    .sidebar { width: 100%; display: none; } 
    .sidebar.active { display: block; } 
    .btn-toggle-sidebar { display: inline-flex; align-items: center; } 
}