/* ========== TIPOGRAFÍA — FileSharePro (cuero & cristal) ========== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* ========== ESTILOS GENERALES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(160deg, #1a0f0a 0%, #3d2817 55%, #2b1810 100%);
    color: #f0e6d8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background 0.3s, color 0.3s;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* grano de cuero + luz cálida, como el interior de un portafolio */
    background:
        radial-gradient(circle at 15% 15%, rgba(201, 168, 118, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(184, 147, 95, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.25) 0%, transparent 70%),
        repeating-radial-gradient(circle at 30% 20%, rgba(0,0,0,0.025) 0px, rgba(0,0,0,0.025) 1px, transparent 2px, transparent 4px),
        repeating-radial-gradient(circle at 70% 60%, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 2px, transparent 4px);
    z-index: -1;
    transition: background 0.3s;
}

/* Titulares con la calidez de un cuaderno de cuero */
h1, h2, h3, .brand, .modal-content h2 {
    font-family: 'Fraunces', 'Georgia', serif;
    letter-spacing: 0.2px;
}

/* ========== MODO CLARO ========== */
body.light-mode {
    background: #f5ecd9;
    color: #2b1810;
}

body.light-mode::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(138, 106, 63, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 118, 0.03) 0%, transparent 50%);
}

body.light-mode .modal-content {
    background: #ffffff;
    border-color: #c9b28c;
    color: #2b1810;
}

body.light-mode .modal-content h2 {
    color: #8a6a3f;
}

body.light-mode .modal-content p {
    color: #6b5744;
}

body.light-mode .remote-shell {
    background: #ffffff;
    border-color: #c9b28c;
}

body.light-mode .remote-top-row {
    background: #f5ecd9;
    border-bottom-color: #e3d3b8;
}

body.light-mode .brand {
    color: #8a6a3f;
}

body.light-mode .room-code-display {
    background: rgba(138, 106, 63, 0.1);
    color: #8a6a3f;
    border-color: rgba(138, 106, 63, 0.3);
}

body.light-mode #remoteStatus {
    color: #2b1810;
}

body.light-mode .storage-panel {
    background: #f5ecd9;
    border-bottom-color: #e3d3b8;
}

body.light-mode .storage-header {
    color: #2b1810;
}

body.light-mode .storage-stats {
    color: #6b5744;
}

body.light-mode .upload-btn {
    background: #ede0cc;
    border-color: #c9b28c;
    color: #2b1810;
}

body.light-mode .upload-btn:hover {
    background: #e3d3b8;
    border-color: #8a6a3f;
}

body.light-mode .explorer-sidebar {
    background: #f5ecd9;
    border-color: #c9b28c;
}

body.light-mode .sidebar-header {
    background: rgba(138, 106, 63, 0.08);
    border-bottom-color: #e3d3b8;
    color: #8a6a3f;
}

body.light-mode .tree-item {
    color: #6b5744;
}

body.light-mode .tree-item:hover {
    background: rgba(138, 106, 63, 0.08);
    color: #8a6a3f;
}

body.light-mode .tree-item.active {
    background: rgba(138, 106, 63, 0.12);
    color: #8a6a3f;
    border-left-color: #8a6a3f;
}

body.light-mode .explorer-main {
    background: #f5ecd9;
    border-color: #c9b28c;
}

body.light-mode .explorer-toolbar {
    background: #ede0cc;
    border-bottom-color: #e3d3b8;
}

body.light-mode .toolbar-btn {
    background: #ede0cc;
    border-color: #c9b28c;
    color: #2b1810;
}

body.light-mode .toolbar-btn:hover {
    background: #e3d3b8;
    border-color: #8a6a3f;
}

body.light-mode .toolbar-btn.small {
    background: #ede0cc;
    color: #2b1810;
}

body.light-mode .toolbar-btn.small:hover {
    background: #e3d3b8;
}

body.light-mode .search-input {
    background: #ffffff;
    border-color: #c9b28c;
    color: #2b1810;
}

body.light-mode .search-input:focus {
    border-color: #8a6a3f;
}

body.light-mode .search-icon {
    color: #8a7460;
}

body.light-mode .path-display {
    background: #ffffff;
    color: #2b1810;
}

body.light-mode .selected-count {
    background: rgba(138, 106, 63, 0.1);
    color: #8a6a3f;
    border-color: rgba(138, 106, 63, 0.3);
}

body.light-mode .address-bar {
    background: #ede0cc;
    border-bottom-color: #e3d3b8;
}

body.light-mode .address-item {
    color: #6b5744;
}

body.light-mode .address-item:hover {
    background: rgba(138, 106, 63, 0.08);
    color: #8a6a3f;
}

body.light-mode .address-item.current {
    background: rgba(138, 106, 63, 0.12);
    color: #8a6a3f;
}

body.light-mode .details-table th {
    background: #ede0cc;
    color: #6b5744;
    border-bottom-color: #c9b28c;
}

body.light-mode .details-table td {
    color: #2b1810;
    border-bottom-color: #e3d3b8;
}

body.light-mode .details-table tr:hover {
    background: rgba(138, 106, 63, 0.05);
}

body.light-mode .details-table tr.selected {
    background: rgba(138, 106, 63, 0.1);
}

body.light-mode .icon-item {
    background: #ffffff;
    border-color: #c9b28c;
}

body.light-mode .icon-item:hover {
    border-color: #8a6a3f;
}

body.light-mode .icon-item.selected {
    border-color: #8a6a3f;
    background: rgba(138, 106, 63, 0.08);
}

body.light-mode .icon-name {
    color: #2b1810;
}

body.light-mode .icon-size {
    color: #6b5744;
}

body.light-mode .status-bar {
    background: #f5ecd9;
    border-top-color: #e3d3b8;
    color: #2b1810;
}

body.light-mode .status-item {
    color: #6b5744;
}

body.light-mode .empty-state {
    color: #6b5744;
}

body.light-mode .empty-state h3 {
    color: #2b1810;
}

body.light-mode .upload-progress {
    background: #ffffff;
    border-color: #c9b28c;
}

body.light-mode .progress-header {
    color: #2b1810;
}

body.light-mode .progress-details {
    color: #6b5744;
}

body.light-mode .preview-modal-content {
    background: #ffffff;
    border-color: #c9b28c;
}

body.light-mode .preview-header {
    background: #f5ecd9;
    border-bottom-color: #e3d3b8;
}

body.light-mode .preview-title {
    color: #2b1810;
}

body.light-mode .preview-close {
    color: #2b1810;
}

body.light-mode .preview-pdf-container {
    background: #ede0cc;
}

body.light-mode .preview-pdf-controls {
    color: #2b1810;
}

body.light-mode .context-menu {
    background: #ffffff !important;
    border-color: #c9b28c !important;
}

body.light-mode .context-menu-item {
    color: #2b1810 !important;
}

body.light-mode .context-menu-item:hover {
    background: #ede0cc !important;
}

body.light-mode .notification {
    background: #ffffff;
    border-color: #c9b28c;
    color: #2b1810;
}

body.light-mode .notification.success {
    border-left-color: #5f7d52;
}

body.light-mode .notification.error {
    border-left-color: #832f21;
}

body.light-mode .notification.warning {
    border-left-color: #c9a876;
}

body.light-mode .modal-overlay {
    background: rgba(255, 255, 255, 0.9);
}

body.light-mode .share-link-input {
    background: #ffffff;
    border-color: #c9b28c;
}

body.light-mode .share-link-input input {
    color: #2b1810;
}

body.light-mode .search-filters {
    background: #ede0cc;
}

body.light-mode .search-filters select,
body.light-mode .search-filters input {
    background: #ffffff;
    color: #2b1810;
    border-color: #c9b28c;
}

body.light-mode .search-filters label {
    color: #6b5744;
}

body.light-mode .activity-panel {
    background: #f5ecd9;
}

body.light-mode .activity-panel .activity-item {
    color: #2b1810;
    border-bottom-color: #e3d3b8;
}

body.light-mode .activity-panel .activity-item .time {
    color: #6b5744;
}

body.light-mode .quick-action-btn {
    background: #ede0cc;
    color: #2b1810;
}

body.light-mode .quick-action-btn:hover {
    background: #e3d3b8;
}

body.light-mode .quick-action-btn:first-child {
    background: linear-gradient(135deg, #8a6a3f, #7a5a35);
    color: white;
}

body.light-mode .quick-action-btn:last-child {
    background: linear-gradient(135deg, #832f21, #6e2318);
    color: white;
}

body.light-mode .theme-toggle i {
    transform: rotate(180deg);
}

/* ========== MODAL DE CONEXIÓN ========== */
.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 15, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.modal-content {
    background:
        linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border-radius: 14px;
    padding: 44px 40px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(184, 147, 95, 0.35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

/* Costura de cuero — el elemento de firma */
.modal-content::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(201, 168, 118, 0.35);
    border-radius: 8px;
    pointer-events: none;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b8935f, #d4af7a, #b8935f);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 0 10px rgba(212, 175, 122, 0.4);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #d4af7a;
    font-size: 2.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: color 0.3s;
}

.modal-content p {
    text-align: center;
    color: #a68b6f;
    margin-bottom: 30px;
    font-size: 1.1em;
    transition: color 0.3s;
}

/* Botones */
.toolbar-btn {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.9), rgba(26, 15, 10, 0.9));
    border: 1px solid rgba(184, 147, 95, 0.3);
    color: #f0e6d8;
    padding: 16px 24px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s;
    font-weight: 600;
    width: 100%;
    justify-content: center;
    font-size: 1em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 6px rgba(0,0,0,0.25);
}

.toolbar-btn:hover {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.25), rgba(201, 168, 118, 0.12));
    border-color: #d4af7a;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 6px 16px rgba(0,0,0,0.3);
}

.toolbar-btn.create-room {
    background: linear-gradient(135deg, #c9a876, #8a6a3f);
    border-color: #d4af7a;
    color: #1a0f0a;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.toolbar-btn.join-room {
    background: linear-gradient(135deg, #a8412f, #832f21);
    border-color: #c1574a;
    color: #f5ecd9;
}

.toolbar-btn.clear-room {
    background: linear-gradient(135deg, #a8412f, #832f21);
    border-color: #a8412f;
    color: white;
}

.toolbar-btn.clear-room:hover {
    background: linear-gradient(135deg, rgba(168, 65, 47, 0.8), rgba(131, 47, 33, 0.7));
    border-color: #c1574a;
}

.toolbar-btn.small {
    padding: 10px 15px;
    font-size: 0.9em;
    width: auto;
}

/* Inputs */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #a68b6f;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(26, 15, 10, 0.7);
    border: 2px solid rgba(138, 116, 96, 0.3);
    border-radius: 12px;
    color: #f0e6d8;
    font-size: 1.1em;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 10px;
}

.input-group input:focus {
    outline: none;
    border-color: #b8935f;
    background: rgba(26, 15, 10, 0.9);
    box-shadow: 0 0 0 3px rgba(184, 147, 95, 0.2);
}

/* Separador */
.separator {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #8a7460;
    font-weight: 600;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 116, 96, 0.3), transparent);
}

.separator span {
    padding: 0 20px;
    font-size: 0.9em;
}

/* Mensajes */
#createRoomStatus,
#modalMessage {
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
    font-weight: 600;
}

#createRoomStatus.success,
#modalMessage.success {
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.2), rgba(22, 163, 74, 0.1));
    border: 1px solid rgba(122, 155, 110, 0.3);
    color: #8fae7c;
}

#createRoomStatus.error,
#modalMessage.error {
    background: linear-gradient(135deg, rgba(168, 65, 47, 0.2), rgba(131, 47, 33, 0.1));
    border: 1px solid rgba(168, 65, 47, 0.3);
    color: #c1574a;
}

/* ========== PANEL PRINCIPAL ========== */
.remote-container {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.remote-shell {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(184, 147, 95, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    transition: background 0.3s, border-color 0.3s;
}

.remote-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b8935f, #d4af7a, #b8935f);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 0 10px rgba(212, 175, 122, 0.4);
    z-index: 1;
}

/* Encabezado */
.remote-top-row {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.98), rgba(26, 15, 10, 0.98));
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(184, 147, 95, 0.25);
    transition: background 0.3s, border-color 0.3s;
}

.brand {
    font-size: 1.7em;
    font-weight: 600;
    color: #d4af7a;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
}

.theme-toggle {
    background: none;
    border: none;
    color: #d4af7a;
    font-size: 1.3em;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: background 0.3s;
    margin-left: 10px;
}

.theme-toggle:hover {
    background: rgba(97, 218, 251, 0.1);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7a9b6e;
    box-shadow: 0 0 10px #7a9b6e;
    transition: background 0.3s;
}

#remoteStatus {
    color: #f0e6d8;
    font-weight: 600;
    transition: color 0.3s;
}

.room-code-display {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.2), rgba(138, 106, 63, 0.1));
    color: #b8935f;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(184, 147, 95, 0.3);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.share-link-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-link-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 15, 10, 0.7);
    border: 1px solid rgba(138, 116, 96, 0.3);
    border-radius: 10px;
    padding: 8px 15px;
    transition: background 0.3s, border-color 0.3s;
}

.share-link-input input {
    background: transparent;
    border: none;
    color: #f0e6d8;
    min-width: 250px;
    outline: none;
    transition: color 0.3s;
}

#copyShareLink {
    background: linear-gradient(135deg, #b8935f, #8a6a3f);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

#btn-leave {
    background: linear-gradient(135deg, #a8412f, #832f21);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    transition: background 0.3s;
}

/* Panel de almacenamiento */
.storage-panel {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.8), rgba(26, 15, 10, 0.8));
    padding: 25px 30px;
    border-bottom: 1px solid rgba(138, 116, 96, 0.3);
    transition: background 0.3s, border-color 0.3s;
}

.storage-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.storage-progress {
    flex: 1;
    min-width: 300px;
}

.storage-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #f0e6d8;
    font-weight: 600;
    transition: color 0.3s;
}

.storage-bar {
    height: 10px;
    background: rgba(138, 116, 96, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.storage-fill {
    height: 100%;
    background: linear-gradient(90deg, #b8935f, #c9a876);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.storage-stats {
    display: flex;
    justify-content: space-between;
    color: #a68b6f;
    font-size: 0.9em;
    transition: color 0.3s;
}

.upload-buttons {
    display: flex;
    gap: 15px;
}

.upload-btn {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.9), rgba(26, 15, 10, 0.9));
    border: 2px solid rgba(138, 116, 96, 0.3);
    color: #f0e6d8;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    min-width: 150px;
}

.upload-btn:hover {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.2), rgba(201, 168, 118, 0.1));
    border-color: #b8935f;
}

.upload-btn input {
    display: none;
}

/* Explorador de archivos */
.file-explorer-container {
    padding: 20px;
}

.explorer-layout {
    display: flex;
    gap: 20px;
    min-height: 600px;
}

/* Sidebar — "página" de cristal esmerilado, tono celeste como una pantalla táctil */
.explorer-sidebar {
    width: 280px;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.10) 0%, transparent 35%),
        linear-gradient(160deg, rgba(58, 102, 122, 0.38), rgba(30, 55, 70, 0.32));
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-radius: 10px;
    border: 1px solid rgba(151, 209, 229, 0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 30px rgba(120,190,220,0.06), 0 8px 24px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s;
}

.sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(151, 209, 229, 0.16), rgba(58, 102, 122, 0.1));
    border-bottom: 1px solid rgba(151, 209, 229, 0.2);
    color: #d4af7a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.folder-tree {
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.tree-item {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: #dce8ec;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    margin-bottom: 5px;
    user-select: none;
}

.tree-item:hover {
    background: rgba(151, 209, 229, 0.14);
    color: #d4af7a;
}

.tree-item.active {
    background: linear-gradient(135deg, rgba(151, 209, 229, 0.2), rgba(58, 102, 122, 0.14));
    color: #d4af7a;
    border-left: 3px solid #b8935f;
}

.tree-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.tree-children {
    padding-left: 25px;
    display: none;
}

.tree-children.expanded {
    display: block;
}

/* Área principal — "página" de cristal esmerilado, la más grande del portafolio */
.explorer-main {
    flex: 1;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.10) 0%, transparent 35%),
        linear-gradient(160deg, rgba(58, 102, 122, 0.38), rgba(30, 55, 70, 0.32));
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-radius: 10px;
    border: 1px solid rgba(151, 209, 229, 0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 30px rgba(120,190,220,0.06), 0 8px 24px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s;
}

.explorer-toolbar {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(30, 55, 70, 0.35), rgba(20, 38, 48, 0.3));
    border-bottom: 1px solid rgba(151, 209, 229, 0.18);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    transition: background 0.3s, border-color 0.3s;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    background: rgba(26, 15, 10, 0.7);
    border: 2px solid rgba(138, 116, 96, 0.3);
    border-radius: 10px;
    color: #f0e6d8;
    font-size: 0.95em;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #b8935f;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a68b6f;
    transition: color 0.3s;
}

.path-display {
    padding: 10px 20px;
    background: rgba(26, 15, 10, 0.5);
    border-radius: 10px;
    color: #f0e6d8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, color 0.3s;
}

.selected-count {
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.2), rgba(138, 106, 63, 0.1));
    border-radius: 10px;
    color: #b8935f;
    font-weight: 600;
    font-size: 0.9em;
    border: 1px solid rgba(184, 147, 95, 0.3);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

/* Búsqueda avanzada */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 20px 10px 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    align-items: center;
    transition: background 0.3s;
}

.search-filters select,
.search-filters input {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #e8ded0;
    font-size: 0.9em;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.search-filters label {
    color: #a68b6f;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.search-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Address bar */
.address-bar {
    padding: 15px 20px;
    background: rgba(26, 15, 10, 0.5);
    border-bottom: 1px solid rgba(138, 116, 96, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    transition: background 0.3s, border-color 0.3s;
}

.address-item {
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: #a68b6f;
    transition: all 0.3s;
}

.address-item:hover {
    background: rgba(184, 147, 95, 0.1);
    color: #b8935f;
}

.address-item.current {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.2), rgba(138, 106, 63, 0.1));
    color: #b8935f;
    font-weight: 600;
}

.address-separator {
    color: #8a7460;
    padding: 0 5px;
}

/* Contenido del explorador */
.explorer-content {
    padding: 20px;
    min-height: 400px;
    position: relative;
    transition: background 0.3s;
}

.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 15, 10, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 15px;
}

/* Tabla de detalles */
.details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.details-table th {
    background: rgba(20, 38, 48, 0.35);
    color: #dce8ec;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(151, 209, 229, 0.2);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.details-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(151, 209, 229, 0.1);
    color: #f0e6d8;
    transition: color 0.3s, border-color 0.3s;
}

.details-table tr:hover {
    background: rgba(151, 209, 229, 0.08);
}

.details-table tr.selected {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.2), rgba(138, 106, 63, 0.12));
}

.details-table tr.folder-row {
    cursor: pointer;
}

.details-table tr.folder-row:hover {
    background: rgba(151, 209, 229, 0.1);
}

.name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.size-cell {
    font-family: monospace;
    font-size: 0.95em;
}

.date-cell {
    font-size: 0.95em;
}

.actions-cell {
    display: flex;
    gap: 5px;
}

.action-btn {
    background: rgba(26, 15, 10, 0.7);
    border: 1px solid rgba(138, 116, 96, 0.3);
    color: #a68b6f;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.action-btn:hover {
    background: rgba(184, 147, 95, 0.2);
    border-color: #b8935f;
    color: #b8935f;
}

.sort-indicator {
    margin-left: 5px;
    font-size: 0.8em;
}

/* Vista de iconos */
.icons-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.icon-item {
    background: linear-gradient(135deg, rgba(58, 102, 122, 0.28), rgba(30, 55, 70, 0.22));
    border: 1px solid rgba(151, 209, 229, 0.2);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.icon-item:hover {
    border-color: #b8935f;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-item.selected {
    border-color: #b8935f;
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.22), rgba(138, 106, 63, 0.12));
}

.icon-name {
    font-weight: 600;
    color: #f0e6d8;
    margin-bottom: 5px;
    word-break: break-word;
    width: 100%;
    transition: color 0.3s;
}

.icon-size {
    font-size: 0.85em;
    color: #a68b6f;
    transition: color 0.3s;
}

/* Estado vacío */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #a68b6f;
}

.empty-state i {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #f0e6d8;
    margin-bottom: 10px;
}

/* Drop zone highlight */
.drop-zone-highlight {
    border: 2px dashed #b8935f !important;
    background: rgba(184, 147, 95, 0.1) !important;
    border-radius: 15px;
}

/* Barra de estado */
.status-bar {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border-top: 1px solid rgba(138, 116, 96, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a68b6f;
    font-size: 0.9em;
    transition: color 0.3s;
}

/* Acciones rápidas */
.quick-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.quick-action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.quick-action-btn:first-child {
    background: linear-gradient(135deg, #b8935f, #8a6a3f);
    color: white;
}

.quick-action-btn:last-child {
    background: linear-gradient(135deg, #a8412f, #832f21);
    color: white;
}

.quick-action-btn:hover {
    transform: scale(1.1);
}

/* Progreso de subida */
.upload-progress {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(138, 116, 96, 0.3);
    min-width: 300px;
    z-index: 1000;
    transition: background 0.3s, border-color 0.3s;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    color: #f0e6d8;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.progress-bar-container {
    height: 8px;
    background: rgba(138, 116, 96, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #b8935f, #c9a876);
    border-radius: 4px;
    transition: width 0.3s ease;
}

#progressDetails {
    margin-top: 8px;
    font-size: 0.85em;
    color: #a68b6f;
    transition: color 0.3s;
}

/* Panel de actividad */
.activity-panel {
    margin: 0 20px 20px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    transition: background 0.3s;
}

.activity-panel .activity-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #e8ded0;
    transition: color 0.3s, border-color 0.3s;
}

.activity-panel .activity-item .time {
    color: #a68b6f;
    min-width: 140px;
    transition: color 0.3s;
}

.activity-panel .activity-item .badge {
    padding: 0 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

/* ========== MODALES ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 15, 10, 0.95);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.modal-content {
    max-width: 500px;
    width: 90%;
}

/* Modal de previsualización */
.preview-modal-content {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    height: 80%;
    border: 1px solid rgba(138, 116, 96, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.3s, border-color 0.3s;
}

.preview-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b8935f, #c9a876, #a8412f);
    border-radius: 20px 20px 0 0;
}

.preview-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border-bottom: 1px solid rgba(138, 116, 96, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    transition: background 0.3s, border-color 0.3s;
}

.preview-title {
    color: #b8935f;
    font-weight: 700;
    font-size: 1.2em;
    transition: color 0.3s;
}

.preview-close {
    background: linear-gradient(135deg, #a8412f, #832f21);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    transition: background 0.3s;
}

.preview-close:hover {
    background: linear-gradient(135deg, #832f21, #6e2318);
}

.preview-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto;
}

/* Previsualización PDF */
.preview-pdf-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #2b1810;
    border-radius: 10px;
    padding: 10px;
    transition: background 0.3s;
}

.preview-pdf-container canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.preview-pdf-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
    color: #e8ded0;
    transition: color 0.3s;
}

.preview-pdf-controls button {
    background: rgba(97, 218, 251, 0.2);
    border: 1px solid #d4af7a;
    color: #d4af7a;
    padding: 6px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.preview-pdf-controls button:hover {
    background: rgba(97, 218, 251, 0.3);
}

/* Previsualización documentos */
.preview-document {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    border-radius: 10px;
}

/* Galería de imágenes */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.gallery-modal .close-gallery {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.gallery-modal .nav-gallery {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3em;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    transition: color 0.3s;
}

.gallery-modal .nav-gallery:hover {
    color: white;
}

.gallery-modal .nav-gallery.prev {
    left: 20px;
}

.gallery-modal .nav-gallery.next {
    right: 20px;
}

/* ========== MENÚ CONTEXTUAL ========== */
.context-menu {
    display: none;
    position: fixed;
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border: 1px solid rgba(138, 116, 96, 0.3);
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    min-width: 200px;
    transition: background 0.3s, border-color 0.3s;
}

.context-menu-item {
    padding: 12px 20px;
    cursor: pointer;
    color: #f0e6d8;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.context-menu-item:hover {
    background: rgba(184, 147, 95, 0.1);
}

/* ========== NOTIFICACIONES ========== */
#notificationContainer {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.95), rgba(26, 15, 10, 0.95));
    border: 1px solid rgba(138, 116, 96, 0.3);
    border-left: 4px solid #b8935f;
    border-radius: 12px;
    padding: 20px;
    color: #f0e6d8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.notification.success {
    border-left-color: #7a9b6e;
}

.notification.error {
    border-left-color: #a8412f;
}

.notification.warning {
    border-left-color: #c9a876;
}

/* ========== ANIMACIONES ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .explorer-layout {
        flex-direction: column;
    }
    
    .explorer-sidebar {
        width: 100%;
        max-height: 300px;
    }

    .folder-tree {
        max-height: 200px;
    }
}

@media (max-width: 992px) {
    .remote-top-row {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .connection-status {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .share-link-input input {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .remote-container {
        padding: 10px;
    }

    .remote-top-row {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .connection-status {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .storage-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .storage-progress {
        min-width: unset;
    }
    
    .upload-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .upload-btn {
        flex: 1;
        width: 100%;
        min-width: unset;
    }
    
    .explorer-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .path-display {
        justify-content: center;
    }
    
    .selected-count {
        text-align: center;
    }

    .address-bar {
        flex-wrap: wrap;
        gap: 5px;
    }

    .quick-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .quick-action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }
    
    .upload-progress {
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        min-width: unset;
    }

    .preview-modal-content {
        width: 98%;
        height: 90%;
    }

    .preview-body {
        padding: 10px;
    }

    .preview-pdf-container canvas {
        max-width: 100%;
    }

    .gallery-modal .nav-gallery {
        font-size: 2em;
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .gallery-modal .nav-gallery.prev {
        left: 10px;
    }

    .gallery-modal .nav-gallery.next {
        right: 10px;
    }

    .gallery-modal img {
        max-width: 95%;
        max-height: 80%;
    }

    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-filters .filter-group {
        flex-wrap: wrap;
    }

    .details-table {
        font-size: 0.85em;
    }

    .details-table th,
    .details-table td {
        padding: 10px;
    }

    .actions-cell .action-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8em;
    }

    .icons-view {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .icon-item {
        padding: 15px;
    }

    #notificationContainer {
        top: 15px;
        right: 15px;
        max-width: calc(100% - 30px);
    }

    .notification {
        padding: 15px;
        font-size: 0.9em;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 2em;
    }

    .modal-overlay {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .remote-container {
        padding: 5px;
    }

    .remote-shell {
        border-radius: 12px;
    }

    .remote-top-row {
        padding: 12px;
    }

    .brand {
        font-size: 1.4em;
    }

    .room-code-display {
        font-size: 0.8em;
        padding: 5px 12px;
    }

    .storage-panel {
        padding: 15px;
    }

    .explorer-toolbar {
        padding: 10px;
    }

    .toolbar-btn.small {
        padding: 8px 12px;
        font-size: 0.8em;
    }

    .search-input {
        padding: 10px 35px 10px 12px;
        font-size: 0.85em;
    }

    .path-display {
        font-size: 0.85em;
        padding: 8px 15px;
    }

    .selected-count {
        font-size: 0.8em;
        padding: 8px 12px;
    }

    .address-bar {
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .address-item {
        padding: 5px 10px;
    }

    .explorer-content {
        padding: 10px;
        min-height: 300px;
    }

    .empty-state {
        padding: 40px 15px;
    }

    .empty-state i {
        font-size: 3em;
    }

    .details-table {
        font-size: 0.75em;
    }

    .details-table th,
    .details-table td {
        padding: 8px 6px;
    }

    .name-cell {
        gap: 6px;
    }

    .actions-cell .action-btn {
        width: 26px;
        height: 26px;
        font-size: 0.7em;
    }

    .icons-view {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .icon-item {
        padding: 12px;
    }

    .icon-item i {
        font-size: 2em !important;
    }

    .icon-name {
        font-size: 0.85em;
    }

    .status-bar {
        padding: 10px;
        font-size: 0.8em;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .status-item {
        font-size: 0.8em;
    }

    .upload-progress {
        padding: 15px;
        font-size: 0.85em;
    }

    .quick-actions {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .quick-action-btn {
        width: 45px;
        height: 45px;
        font-size: 1em;
    }

    .preview-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .preview-modal-content::before {
        border-radius: 0;
    }

    .preview-header {
        padding: 15px;
        border-radius: 0;
    }

    .preview-body {
        padding: 10px;
    }

    .preview-title {
        font-size: 1em;
    }

    .preview-close {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }

    .gallery-modal .close-gallery {
        top: 10px;
        right: 15px;
        font-size: 2em;
    }

    .gallery-modal .nav-gallery {
        font-size: 1.5em;
    }

    .search-filters {
        padding: 10px;
        margin: 0 10px 10px 10px;
    }

    .search-filters select,
    .search-filters input {
        font-size: 0.8em;
        padding: 6px 10px;
    }

    .activity-panel {
        margin: 0 10px 10px 10px;
        padding: 10px;
        max-height: 150px;
        font-size: 0.85em;
    }

    .activity-panel .activity-item {
        font-size: 0.8em;
        flex-wrap: wrap;
    }

    .activity-panel .activity-item .time {
        min-width: 100px;
        font-size: 0.8em;
    }

    .modal-content {
        padding: 20px 15px;
    }

    .modal-content h2 {
        font-size: 1.6em;
    }

    .toolbar-btn {
        padding: 12px 16px;
        font-size: 0.9em;
    }

    .input-group input {
        padding: 12px 16px;
        font-size: 1em;
        letter-spacing: 5px;
    }

    .share-link-input {
        flex-wrap: wrap;
        width: 100%;
    }

    .share-link-input input {
        min-width: 120px;
        width: 100%;
    }

    #copyShareLink {
        width: 100%;
        justify-content: center;
    }
}

/* ========== ACCESIBILIDAD ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid #b8935f;
    outline-offset: 2px;
}

/* Mejora de contraste para modo claro */
body.light-mode .notification {
    border-color: #c9b28c;
}

body.light-mode .notification.success {
    border-left-color: #5f7d52;
}

body.light-mode .notification.error {
    border-left-color: #832f21;
}

body.light-mode .notification.warning {
    border-left-color: #c9a876;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(138, 116, 96, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(138, 116, 96, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 116, 96, 0.6);
}

body.light-mode ::-webkit-scrollbar-track {
    background: #e3d3b8;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: #c9b28c;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: #a68b6f;
}