	<style>
        body { font-family: 'Segoe UI', sans-serif; background-color: #f5f5f7; margin: 0; padding: 20px; }
        .gallery-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; max-width: 1200px; margin: 40px auto; padding: 0 20px; }
        #loginOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; }
        .login-box { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); text-align: center; width: 320px; }
        .login-box input { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }
        .login-box button { width: 100%; padding: 12px; background: #0071e3; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; width: 100%; }
        .media-card { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: center; transition: 0.2s; cursor: pointer; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
        .media-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
        .folder-icon { width: 80px; height: 80px; margin-bottom: 10px; pointer-events: none; }
        .media-thumbnail { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; pointer-events: none; }
        .media-info { 
            font-weight: 600; margin-top: 10px; color: #333; font-size: 14px; pointer-events: none;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; text-align: center;
        }
        .back-btn { background-color: #e0e0e0 !important; border: 1px dashed #999 !important; }
        .lock-badge { position: absolute; top: 10px; right: 10px; font-size: 18px; }
        .lightbox { display: none; position: fixed; z-index: 3000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(8px); align-items: center; justify-content: center; }
        .lightbox-content { max-width: 100vw; max-height: 100vh; border-radius: 0; object-fit: contain; }
        .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); color: white; border: none; padding: 20px; cursor: pointer; font-size: 30px; border-radius: 50%; z-index: 3001; }
        .close-lightbox { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; z-index: 3001; }
        
        #slideshowControls { position: absolute; top: 20px; left: 20px; display: flex; align-items: center; gap: 10px; z-index: 3001; }
        #btnAutoSlideshow { background: rgba(255,255,255,0.2); color: white; border: none; padding: 10px 20px; cursor: pointer; font-size: 16px; border-radius: 8px; font-weight: bold; transition: 0.3s; }
        #btnAutoSlideshow:hover { background: rgba(255,255,255,0.4); }
        #slideshowInterval { width: 50px; padding: 8px; border-radius: 8px; border: none; text-align: center; font-size: 16px; font-weight: bold; background: rgba(255,255,255,0.9); outline: none; }
        
        #customContextMenu { display: none; position: absolute; z-index: 10000; background: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); padding: 5px 0; min-width: 200px; font-size: 14px; border: 1px solid #ddd; }
        .menu-item { padding: 10px 15px; cursor: pointer; color: #333; transition: 0.2s; display: flex; align-items: center; gap: 10px; }
        .menu-item:hover { background-color: #f0f0f0; color: #007bff; }
    
        .file-checkbox { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; cursor: pointer; z-index: 10; accent-color: #fd7e14; display: none; }
        
        /* Khi body được gắn class này, các ô vuông mới hiện ra */
        body.selection-mode .file-checkbox { display: block; }
    </style>