/* File Manager Styles */
.file-manager {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Rajdhani', sans-serif;
}

.file-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--neon-blue);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    margin-bottom: 20px;
}

.path-display {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 16px;
}

.toolbar-buttons {
    display: flex;
    gap: 12px;
}

.toolbar-buttons button {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: black;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.toolbar-buttons button:hover {
    box-shadow: 0 0 15px var(--neon-blue);
    transform: translateY(-2px);
}

.file-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.file-item:hover {
    background: rgba(0, 247, 255, 0.1);
    border-color: var(--neon-blue);
    transform: translateX(5px);
}

.file-item.selected {
    background: rgba(0, 247, 255, 0.2);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.file-item.folder {
    border-left: 4px solid var(--neon-purple);
}

.file-item.file {
    border-left: 4px solid var(--neon-blue);
}

.file-icon {
    font-size: 28px;
    margin-right: 18px;
    min-width: 35px;
    text-align: center;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    font-size: 16px;
    color: white;
    margin-bottom: 4px;
}

.file-details {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-folder {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 50px;
    font-size: 18px;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.4);
    z-index: 10000;
    min-width: 180px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.context-menu-item {
    padding: 12px 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.context-menu-item:hover {
    background: rgba(0, 247, 255, 0.2);
    color: var(--neon-blue);
    padding-left: 25px;
}

/* File Viewer Modal */
.file-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.file-viewer {
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 16px;
    width: 85%;
    max-width: 900px;
    height: 75%;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.4);
    backdrop-filter: blur(10px);
}

.file-viewer-header {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: black;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    border-bottom: 2px solid rgba(0, 247, 255, 0.3);
}

.file-viewer-header h3 {
    margin: 0;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.file-viewer-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: black;
    font-size: 22px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.file-viewer-header button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(90deg);
}

.file-viewer-content {
    flex: 1;
    padding: 25px;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-family: 'Courier New', monospace;
    border-radius: 0 0 14px 14px;
}

.file-viewer-content pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

/* Custom scrollbar for File Manager */
.file-list::-webkit-scrollbar {
    width: 10px;
}

.file-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.file-list::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.file-list::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Responsive Design pour File Manager */
@media (max-width: 768px) {
    .file-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .toolbar-buttons {
        justify-content: space-between;
    }
    
    .toolbar-buttons button {
        flex: 1;
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .file-item {
        padding: 12px;
    }
    
    .file-icon {
        font-size: 24px;
        margin-right: 12px;
    }
    
    .file-name {
        font-size: 14px;
    }
    
    .file-details {
        font-size: 11px;
    }
} 

/* Neon Prompt Modal */
.neon-prompt-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 20000;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.neon-prompt-box {
    background: var(--card-bg, #181c24);
    border: 2.5px solid var(--neon-blue, #00f7ff);
    border-radius: 18px;
    box-shadow: 0 0 40px 0 #a259ff99, 0 0 0 2px #a259ff44;
    min-width: 380px;
    max-width: 95vw;
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: neonFadeIn 0.25s;
}
.neon-prompt-header {
    color: #a259ff;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: left;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #a259ff88, 0 0 2px #fff2;
}
.neon-prompt-input {
    background: rgba(0,0,0,0.7);
    border: 2px solid #a259ff;
    border-radius: 8px;
    color: #fff;
    font-size: 1.08rem;
    font-family: 'Rajdhani', monospace;
    padding: 10px 14px;
    margin-bottom: 22px;
    outline: none;
    box-shadow: 0 0 8px #a259ff44;
    transition: border 0.2s, box-shadow 0.2s;
}
.neon-prompt-input:focus {
    border-color: #00f7ff;
    box-shadow: 0 0 16px #00f7ff88;
}
.neon-prompt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}
.neon-prompt-ok, .neon-prompt-cancel {
    min-width: 70px;
    padding: 8px 0;
    border: none;
    border-radius: 7px;
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.neon-prompt-ok {
    background: linear-gradient(90deg, #a259ff 0%, #00f7ff 100%);
    color: #181c24;
    box-shadow: 0 0 10px #a259ff55;
}
.neon-prompt-ok:hover {
    background: linear-gradient(90deg, #00f7ff 0%, #a259ff 100%);
    color: #fff;
    box-shadow: 0 0 18px #00f7ff99;
}
.neon-prompt-cancel {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1.5px solid #a259ff;
}
.neon-prompt-cancel:hover {
    background: #a259ff33;
    color: #a259ff;
    border-color: #00f7ff;
}
@keyframes neonFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
} 