/* Magic Workshop Page Styles */
.magic-content {
    position: relative;
    padding: 2rem 0;
}

/* Enhanced Sidebar Styling */
.magic-sidebar {
    float: right;
    width: 300px;
    margin-left: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.magic-sidebar h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 600;
}

.magic-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.magic-menu li {
    margin-bottom: 0.8rem;
}

.magic-menu li:last-child {
    margin-bottom: 0;
}

.magic-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2.5rem;
}

.magic-menu a:before {
    content: "→";
    position: absolute;
    left: 1rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}



.magic-menu a.active {
    background-color: var(--accent-color);
    color: white;
    font-weight: 500;
}

.magic-menu a.active:before {
    color: white;
}

.magic-menu a.pdf-link {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.magic-menu a.pdf-link:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.magic-menu a.pdf-link i {
    margin-left: 0.5rem;
    color: #dc3545;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .magic-sidebar {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .magic-sidebar h3 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .magic-sidebar h3:after {
        content: "▼";
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .magic-sidebar h3.dropdown-toggle:after {
        transform: rotate(180deg);
    }

    .magic-menu {
        display: none;
    }

    .magic-menu.show {
        display: block;
    }
} 