/* Reset y estilos base */ * { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } body { display: flex; height: 100vh; background-color: #f5f7fa; overflow: hidden; } /* Barra lateral */ .sidebar { width: 250px; background-color: #2a3042; color: #fff; display: flex; flex-direction: column; height: 100%; flex-shrink: 0; } .logo-container { padding: 20px; display: flex; align-items: center; margin-bottom: 20px; } .logo { width: 40px; height: 40px; background-color: #ff5e3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; } .logo svg { width: 24px; height: 24px; fill: white; } .app-name { font-size: 18px; font-weight: bold; color: white; } .nav-menu { display: flex; flex-direction: column; flex-grow: 1; padding: 0 15px; } .nav-item { display: flex; align-items: center; padding: 12px 15px; margin-bottom: 5px; border-radius: 8px; cursor: pointer; color: white; font-size: 16px; } .nav-item:hover { background-color: #3a4157; } .nav-item.active { background-color: #374e65; } .nav-item i { margin-right: 15px; width: 20px; text-align: center; } /* Indicador de almacenamiento */ .storage-container { margin: 20px 15px; background-color: #374e65; border-radius: 8px; padding: 15px; } .storage-title { text-align: center; margin-bottom: 10px; font-size: 14px; } .storage-bar { height: 10px; background-color: #6b7e8f; border-radius: 5px; overflow: hidden; margin-bottom: 10px; } .storage-fill { height: 100%; background-color: #ff5e3a; width: 56%; } .storage-info { text-align: center; font-size: 12px; color: #f5f5f5; } /* Contenido principal */ .main-content { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; } /* Barra superior */ .top-bar { height: 70px; background-color: white; border-bottom: 1px solid #e6e6e6; display: flex; align-items: center; padding: 0 30px; justify-content: space-between; } .search-container { flex-grow: 1; max-width: 500px; position: relative; margin-right: 20px; display: flex; align-items: center; } .search-container input { width: 100%; padding: 10px 15px 10px 40px; border-radius: 50px; border: none; background-color: #f0f3f7; font-size: 14px; height: 40px; } .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8895a7; font-size: 16px; } .search-button { background-color: #ff5e3a; color: white; border: none; border-radius: 50%; width: 36px; height: 36px; margin-left: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; } .search-button:hover { background-color: #e64a29; } /* Estilos para resultados de búsqueda */ .search-results-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; margin-bottom: 15px; border-bottom: 1px solid #eee; width: 100%; } .search-results-header h3 { margin: 0; font-size: 16px; color: #555; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; color: #888; width: 100%; } .user-controls { display: flex; align-items: center; } .logout-btn { margin-left: 15px; color: #64748b; cursor: pointer; font-size: 18px; transition: color 0.2s; } .logout-btn:hover { color: #ff5e3a; } .language-selector { margin-right: 15px; padding: 5px 12px; background-color: #f0f3f7; border-radius: 6px; cursor: pointer; font-size: 14px; display: flex; align-items: center; } .language-selector::after { content: "▼"; font-size: 8px; margin-left: 5px; color: #718096; } .user-avatar { width: 40px; height: 40px; background-color: #ff5e3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } /* Área de contenido */ .content-area { flex-grow: 1; padding: 20px; overflow-y: auto; } .page-title { font-size: 24px; font-weight: bold; margin-bottom: 20px; color: #2d3748; } .actions-bar { display: flex; justify-content: space-between; margin-bottom: 20px; } .action-buttons { display: flex; gap: 10px; } .btn { padding: 10px 20px; border-radius: 50px; border: none; cursor: pointer; display: flex; align-items: center; font-size: 14px; } .btn-primary { background-color: #ff5e3a; color: white; } .btn-secondary { background-color: #f0f3f7; color: #333; } .view-toggle { display: flex; border-radius: 8px; overflow: hidden; } .toggle-btn { background-color: #f0f3f7; border: none; padding: 8px 15px; cursor: pointer; } .toggle-btn.active { background-color: #e6e6e6; } /* Files grid */ .files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; } .file-card { background-color: white; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; } .file-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); } .file-card.dragging { opacity: 0.5; transform: scale(0.95); box-shadow: none; } .file-card.drop-target { background-color: rgba(255, 193, 7, 0.1); border: 2px dashed #ffc107; } /* Estilos para las carpetas como en el mockup */ .file-icon.folder-icon { width: 100px; height: 70px; background-color: #ffeaa7; /* Color amarillo claro */ border-radius: 8px; position: relative; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; } .file-icon.folder-icon::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 20px; background-color: #fdcb6e; /* Color amarillo más oscuro para la pestaña */ border-radius: 8px 8px 0 0; } .file-icon.folder-icon i { display: none; /* Ocultar el icono Font Awesome */ } /* Estilo para documentos */ .file-icon.doc-icon { width: 100px; height: 70px; background-color: #e2e8f0; /* Fondo gris claro */ border-radius: 4px; position: relative; margin-bottom: 10px; } .file-icon.doc-icon::before { content: ""; position: absolute; top: 15px; left: 20px; right: 20px; height: 4px; background-color: #a0aec0; border-radius: 2px; } .file-icon.doc-icon::after { content: ""; position: absolute; top: 25px; left: 20px; right: 30px; height: 4px; background-color: #a0aec0; border-radius: 2px; } /* Estilo para imágenes */ .file-icon.image-icon { width: 100px; height: 70px; background-color: #74b9ff; /* Fondo azul claro */ border-radius: 4px; position: relative; margin-bottom: 10px; overflow: hidden; } .file-icon.image-icon::before { content: ""; position: absolute; top: 10px; left: 15px; width: 20px; height: 20px; background-color: #ffda79; /* Círculo amarillo como un sol */ border-radius: 50%; } /* Estilo para videos */ .file-icon.video-icon { width: 100px; height: 70px; background-color: #111; /* Fondo negro */ border-radius: 4px; position: relative; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; } .file-icon.video-icon::before { content: ""; width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 20px solid white; /* Triángulo de reproducción */ } /* Estilos para archivos de código */ .file-icon.code-icon { width: 100px; height: 70px; background-color: #e2e8f0; /* Fondo gris claro */ border-radius: 4px; position: relative; margin-bottom: 10px; border-top: 3px solid #556ee6; /* Borde superior azul */ overflow: hidden; } /* Líneas que simulan código */ .file-icon.code-icon::before, .file-icon.code-icon::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background-color: #556ee6; /* Color azul para el código */ } .file-icon.code-icon::before { top: 15px; width: 80%; } .file-icon.code-icon::after { top: 25px; width: 60%; } /* Agregar líneas adicionales para simular código */ .file-icon.code-icon .code-line-1, .file-icon.code-icon .code-line-2, .file-icon.code-icon .code-line-3 { position: absolute; left: 10px; height: 2px; background-color: #a0aec0; /* Color gris para el código */ } .file-icon.code-icon .code-line-1 { top: 35px; width: 70%; } .file-icon.code-icon .code-line-2 { top: 45px; width: 85%; } .file-icon.code-icon .code-line-3 { top: 55px; width: 50%; } /* Colores específicos para distintos tipos de archivo de código */ .file-icon.json-icon { border-top-color: #ffb86c; /* Naranja para JSON */ } .file-icon.json-icon::before, .file-icon.json-icon::after { background-color: #ffb86c; } .file-icon.js-icon { border-top-color: #ffd43b; /* Amarillo para JavaScript */ } .file-icon.js-icon::before, .file-icon.js-icon::after { background-color: #ffd43b; } .file-icon.html-icon { border-top-color: #e34c26; /* Rojo para HTML */ } .file-icon.html-icon::before, .file-icon.html-icon::after { background-color: #e34c26; } .file-icon.css-icon { border-top-color: #2965f1; /* Azul para CSS */ } .file-icon.css-icon::before, .file-icon.css-icon::after { background-color: #2965f1; } .file-icon.py-icon { border-top-color: #3776ab; /* Azul oscuro para Python */ } .file-icon.py-icon::before, .file-icon.py-icon::after { background-color: #3776ab; } .file-name { font-size: 14px; font-weight: 500; text-align: center; margin-bottom: 5px; color: #2d3748; } .file-info { font-size: 12px; color: #718096; text-align: center; } /* Lista de archivos - Estilo mejorado */ .files-list-view { display: flex; flex-direction: column; width: 100%; border-radius: 10px; overflow: hidden; background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .list-header { display: grid; grid-template-columns: minmax(200px, 2fr) 1fr 1fr 120px; padding: 15px; font-weight: 600; color: #2d3748; background-color: #f8f9fa; border-bottom: 1px solid #e0e6ed; } .file-item { display: grid; grid-template-columns: minmax(200px, 2fr) 1fr 1fr 120px; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; align-items: center; cursor: pointer; transition: background-color 0.2s; background-color: white; } /* Para modo papelera, ajustar columnas */ .trash-item.file-item { grid-template-columns: minmax(180px, 1.5fr) 0.5fr 1fr 120px 100px; } .file-item:hover { background-color: #f0f8ff; } .file-item .name-cell { display: flex; align-items: center; gap: 12px; } .file-item .file-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 20px; margin-bottom: 0; } .file-item .file-icon.folder-icon { background-color: #ffeaa7; position: relative; width: 36px; height: 36px; margin-bottom: 0; } .file-item .file-icon.folder-icon::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background-color: #fdcb6e; border-radius: 8px 8px 0 0; } .file-item .file-icon.folder-icon i { display: none; } /* Iconos específicos para archivos en vista de lista */ .file-item .file-icon.pdf-icon { background-color: #fee2e2; } .file-item .file-icon.pdf-icon i { color: #e53e3e; } .file-item .file-icon.image-icon { background-color: #e0f2fe; } .file-item .file-icon.image-icon i { color: #3b82f6; } .file-item .file-icon.video-icon { background-color: #e2e8f0; } .file-item .file-icon.video-icon i { color: #ef4444; } .file-item .file-icon.audio-icon { background-color: #fef3c7; } .file-item .file-icon.audio-icon i { color: #f59e0b; } .file-item .file-icon.text-icon { background-color: #f3f4f6; } .file-item .file-icon.text-icon i { color: #6b7280; } .file-item .date-cell { color: #718096; font-size: 14px; } .file-item .size-cell { color: #718096; font-size: 14px; text-align: right; } .file-item .type-cell { color: #4b5563; font-weight: 500; font-size: 14px; } .file-item.dragging { opacity: 0.5; background-color: #f9fafb; } .file-item.drop-target { background-color: rgba(255, 193, 7, 0.1); border: 2px dashed #ffc107; } /* Breadcrumb */ .breadcrumb { display: flex; align-items: center; margin-bottom: 15px; font-size: 14px; color: #666; } .breadcrumb-item { cursor: pointer; } .breadcrumb-item:hover { text-decoration: underline; } .breadcrumb-separator { margin: 0 8px; } /* Context menu */ .context-menu { position: absolute; background-color: white; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 5px 0; min-width: 150px; z-index: 1000; display: none; } .context-menu-item { padding: 8px 15px; cursor: pointer; display: flex; align-items: center; color: #333; } .context-menu-item:hover { background-color: #f0f8ff; } .context-menu-item i { margin-right: 8px; width: 16px; text-align: center; } /* Dialog */ .rename-dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2000; display: none; } .rename-dialog-content { background-color: white; border-radius: 8px; padding: 20px; width: 400px; max-width: 90%; } .rename-dialog-header { font-size: 18px; font-weight: bold; margin-bottom: 15px; } .rename-dialog input { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .rename-dialog-buttons { display: flex; justify-content: flex-end; gap: 10px; } /* Dropzone */ .dropzone { border: 2px dashed #ddd; border-radius: 8px; padding: 20px; text-align: center; margin: 20px 0; color: #666; display: none; } .dropzone.active { border-color: #ff5e3a; background-color: rgba(255, 94, 58, 0.05); } .upload-progress { margin-top: 15px; width: 100%; display: none; } .progress-bar { background-color: #f0f0f0; height: 6px; border-radius: 3px; overflow: hidden; } .progress-fill { height: 100%; background-color: #ff5e3a; width: 0%; transition: width 0.3s; } /* Notificación */ .notification { position: absolute; top: 70px; right: 20px; background-color: white; width: 250px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); padding: 15px; border-left: 4px solid #ff5e3a; z-index: 1000; display: none; } .notification-title { font-weight: bold; font-size: 14px; margin-bottom: 5px; color: #2d3748; } .notification-message { font-size: 12px; color: #718096; } /* Dialogs (Rename, Move, Share) */ .rename-dialog, .share-dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 2000; } .rename-dialog-content, .share-dialog-content { background-color: white; padding: 20px; border-radius: 8px; width: 400px; max-width: 90%; } .share-dialog-content { width: 500px; } .rename-dialog-header, .share-dialog-header { font-size: 18px; font-weight: bold; margin-bottom: 15px; } .rename-dialog input, .share-dialog input { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; } .rename-dialog-buttons, .share-dialog-buttons { display: flex; justify-content: flex-end; gap: 10px; } /* Share dialog specific styles */ .shared-item-info { padding: 10px 0; margin-bottom: 15px; border-bottom: 1px solid #eee; } .share-options h3, #existing-shares-section h3, #new-share-section h3 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #333; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 5px; font-weight: 500; } .permission-options { display: flex; gap: 15px; margin-top: 5px; } .permission-option { display: flex; align-items: center; gap: 5px; } .existing-share-item { background-color: #f8f9fa; border-radius: 4px; padding: 10px; margin-bottom: 10px; } .share-url { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; color: #1565c0; } .share-info { font-size: 11px; display: flex; gap: 15px; margin-bottom: 10px; color: #757575; } .share-protected { color: #1565c0; } .share-expiration { color: #b71c1c; } .share-actions { display: flex; gap: 5px; justify-content: flex-end; } .share-link-actions { display: flex; gap: 10px; margin-top: 5px; } .btn-small { font-size: 12px; padding: 5px 10px; } #notification-message { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; } /* Shared Resources Page Styles */ /* Header styles for shared page */ header { background-color: white; border-bottom: 1px solid #e6e6e6; padding: 15px 20px; } .header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; } .header-actions { display: flex; align-items: center; gap: 15px; } .header-button { padding: 8px 15px; background-color: #f0f3f7; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; } .header-button:hover { background-color: #e6e9ed; } /* Shared page container */ .shared-page-container { max-width: 1280px; margin: 20px auto; padding: 0 20px; } .shared-header { margin-bottom: 25px; } .shared-header h2 { font-size: 24px; color: #2d3748; margin-bottom: 8px; } .shared-header p { color: #718096; font-size: 16px; } /* Filters and search */ .shared-filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; } .filter-group { display: flex; align-items: center; gap: 10px; } .filter-group label { font-size: 14px; color: #4a5568; } .filter-group select { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; background-color: white; font-size: 14px; } .search-box { display: flex; gap: 10px; } .search-box input { padding: 8px 15px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; width: 250px; } .search-box button { padding: 8px 15px; background-color: #ff5e3a; color: white; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; } .search-box button:hover { background-color: #e64a29; } /* Shared items list */ .shared-list-container { background-color: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; } .shared-list { width: 100%; border-collapse: collapse; } .shared-list thead th { padding: 15px; text-align: left; font-weight: 600; color: #2d3748; background-color: #f8f9fa; border-bottom: 1px solid #e0e6ed; } .shared-list tbody td { padding: 15px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; } .shared-item-name { display: flex; align-items: center; gap: 10px; } .shared-item-actions { display: flex; gap: 10px; } .action-btn { width: 32px; height: 32px; border: 1px solid #e2e8f0; border-radius: 6px; background-color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; } .action-btn:hover { background-color: #f0f8ff; border-color: #90cdf4; } .action-icon { font-size: 14px; } /* Empty state */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; background-color: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .empty-state-icon { font-size: 40px; margin-bottom: 20px; color: #a0aec0; } .empty-state h3 { font-size: 18px; color: #2d3748; margin-bottom: 10px; } .empty-state p { color: #718096; margin-bottom: 20px; text-align: center; } /* Dialog styles */ .dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; align-items: center; justify-content: center; z-index: 1000; } .dialog.active { display: flex; } .dialog-content { background-color: white; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 500px; max-width: 90%; max-height: 90vh; overflow-y: auto; } .dialog-header { padding: 15px 20px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; } .dialog-header h3 { font-size: 18px; color: #2d3748; margin: 0; } .close-dialog-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #a0aec0; } .dialog-body { padding: 20px; } /* Share dialog specific styles */ .share-item-info { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; } .item-icon { font-size: 24px; } .item-name { font-size: 16px; font-weight: 500; color: #2d3748; } .share-link-section { margin-bottom: 20px; } .share-link-container { display: flex; gap: 10px; } .share-link-container input { flex-grow: 1; padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; } .share-link-container button { padding: 0 15px; background-color: #4a5568; color: white; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; } .share-link-container button:hover { background-color: #2d3748; } .share-settings { margin-bottom: 20px; } .share-setting { margin-bottom: 15px; } .share-setting label { display: block; margin-bottom: 8px; font-weight: 500; color: #4a5568; } .permissions-options { display: flex; gap: 20px; } .permissions-options label { font-weight: normal; display: flex; align-items: center; gap: 5px; } .password-setting, .expiration-setting { display: flex; align-items: center; gap: 10px; } .password-setting input[type="checkbox"], .expiration-setting input[type="checkbox"] { width: auto; } .password-setting input[type="password"], .expiration-setting input[type="date"] { flex-grow: 1; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; } .password-setting button { padding: 8px 12px; background-color: #4a5568; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; transition: background-color 0.2s; } .password-setting button:hover { background-color: #2d3748; } .share-actions { display: flex; justify-content: flex-end; gap: 10px; } /* Form styles */ .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #4a5568; } .form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; } .form-group textarea { resize: vertical; min-height: 80px; } /* Button styles */ .button { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; } .primary { background-color: #ff5e3a; color: white; } .primary:hover { background-color: #e64a29; } .secondary { background-color: #e2e8f0; color: #4a5568; } .secondary:hover { background-color: #cbd5e0; } .danger { background-color: #f56565; color: white; } .danger:hover { background-color: #e53e3e; } /* Notification banner */ .notification-banner { position: fixed; top: 20px; right: 20px; padding: 15px 20px; background-color: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: space-between; max-width: 400px; z-index: 2000; transform: translateY(-100px); opacity: 0; transition: transform 0.3s, opacity 0.3s; } .notification-banner.active { transform: translateY(0); opacity: 1; } .notification-banner.success { border-left: 4px solid #48bb78; } .notification-banner.error { border-left: 4px solid #f56565; } .close-notification-btn { background: none; border: none; font-size: 18px; cursor: pointer; color: #a0aec0; margin-left: 10px; } /* Responsive */ @media (max-width: 768px) { .sidebar { width: 60px; padding: 15px 10px; } .app-name, .storage-title, .storage-info { display: none; } .nav-item { justify-content: center; padding: 12px 0; } .nav-item i { margin-right: 0; } .nav-item span { display: none; } /* Responsive styles for shared page */ .shared-filters { flex-direction: column; align-items: flex-start; } .shared-list thead th:nth-child(4), .shared-list thead th:nth-child(5), .shared-list tbody td:nth-child(4), .shared-list tbody td:nth-child(5) { display: none; } .dialog-content { width: 95%; } } /* Folder selection for move dialog */ .folder-select-item { padding: 8px 10px; margin-bottom: 5px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; } .folder-select-item:hover { background-color: #f0f8ff; } .folder-select-item.selected { background-color: #e6f7ff; border-left: 3px solid #1890ff; } .folder-select-item i { margin-right: 8px; color: #ffc107; } /* Estilos para la papelera */ .trash-item { position: relative; } .trash-actions { position: absolute; top: 10px; right: 10px; display: none; gap: 8px; } .file-card.trash-item:hover .trash-actions, .file-item.trash-item:hover .actions-cell { display: flex; } .trash-actions button, .actions-cell button { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 4px 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; transition: all 0.2s; } .trash-actions button:hover, .actions-cell button:hover { background: #f0f0f0; } .btn-restore { color: #4CAF50; } .btn-delete { color: #f44336; } .actions-cell { display: flex; gap: 8px; justify-content: flex-start; align-items: center; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; width: 100%; color: #666; grid-column: 1 / -1; } /* Botón de peligro para vaciar papelera */ .btn-danger { background-color: #f44336; color: white; }