.cactus-media-sidebar {position: fixed; top: 32px; left: 160px; bottom: 0; width: 260px; background: #fff; border-right: 1px solid #ccd0d4; z-index: 9990; overflow-y: auto; display: flex; flex-direction: column; box-shadow: 2px 0 5px rgba(0,0,0,0.02); transition: left 0.2s; font-family: "Segoe UI", Tahoma, sans-serif;}
body.folded .cactus-media-sidebar {left: 36px;}
.upload-php .wrap {margin-left: 270px;}
.c-sidebar-header {padding: 20px; background: #fcfcfc; border-bottom: 1px solid #eee;}
.c-sidebar-header h2 {margin: 0 0 15px 0; font-size: 18px; color: #7FA409; display: flex; justify-content: space-between; align-items: center;}
.c-btn-group {display: flex; gap: 5px;}
.c-tool-btn {background: #7FA409; color: #fff; border-radius: 4px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: 0.2s;}
.c-tool-btn.c-del-btn {background: #d63638;}
.c-tool-btn:hover {opacity: 0.8;}
.c-search-box input {width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 8px; font-size: 13px; outline: none;}
ul.c-tree {list-style: none; margin: 0; padding: 10px 0;}
.c-folder-row {display: flex; align-items: center; padding: 8px 20px; color: #444; text-decoration: none; border-left: 4px solid transparent; transition: 0.1s; font-size: 13px; cursor: pointer;}
.c-folder-row:hover {background: #f9f9f9; color: #7FA409;}
.c-folder-row.active {background: #f4f7e9; color: #7FA409; border-left-color: #7FA409; font-weight: 600;}
.c-folder-row .dashicons {margin-right: 8px; font-size: 18px; color: #f0c33c;}
.c-count {margin-left: auto; font-size: 10px; color: #999; background: #eee; padding: 2px 6px; border-radius: 10px; font-weight: 700;}
.delete-mode-active .c-folder-row {background: #fff5f5;}
.folder-checkbox {display: none; margin-right: 10px;}
.delete-mode-active .folder-checkbox {display: inline-block;}
#c-delete-confirm {display: none; width: calc(100% - 40px); margin: 0 20px 10px; background: #d63638; color: white; border: none; padding: 8px; border-radius: 4px;}
.c-arrow {width: 15px; font-size: 10px; color: #ccc; cursor: pointer; margin-right: 5px;}
ul.children {display: none; margin-left: 15px; border-left: 1px dashed #ddd;}
li.is-open > ul.children {display: block;}