/* File Organization Simulation Styles */
.simulation-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    margin-bottom: 40px;
}

.organization-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 30px;
}

.org-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.org-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.org-btn.active {
    background: #00e0ff;
    color: #000;
    border-color: #00e0ff;
}

.controls {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    background: #00e0ff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #00b8d4;
}

input[type="text"] {
    padding: 8px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.9);
}

.file-tree {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

.folder, .file {
    padding: 8px 0 8px 20px;
    margin: 3px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.folder {
    position: relative;
}

.folder:hover, .file:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.folder:before {
    content: "📁";
    margin-right: 8px;
}

.folder.open:before {
    content: "📂";
}

.file:before {
    content: "📄";
    margin-right: 8px;
}

.children {
    display: none;
    padding-left: 20px;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
    margin-left: 10px;
}

.folder.open > .children {
    display: block;
}

.explanation {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.explanation h2 {
    color: #00e0ff;
    margin-top: 0;
}

.explanation ul {
    padding-left: 20px;
}

.explanation li {
    margin-bottom: 8px;
}

.selected {
    background-color: rgba(0, 224, 255, 0.3) !important;
}

/* Animation for switching views */
.fade-transition {
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}