/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1F2937;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4F46E5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6366F1;
}

/* Smooth transitions */
button, .macro-item {
    transition: all 0.2s ease;
}

/* Macro item styling */
.macro-item {
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.macro-item:hover {
    background-color: rgba(79, 70, 229, 0.1);
    border-left-color: #4F46E5;
}

.macro-item.active {
    background-color: rgba(79, 70, 229, 0.2);
    border-left-color: #4F46E5;
    color: #A5B4FC;
}

/* Category styling */
.category-title {
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #A5B4FC;
}

.category-title:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

.category-items {
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category.active .category-items {
    max-height: 1000px;
}
/* Button styles */
.btn-preview {
    background: #4F46E5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-preview:hover {
    background: #6366F1;
}

.btn-download {
    background: #10B981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-download:hover {
    background: #34D399;
}

.btn-run {
    background: #F59E0B;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-run:hover {
    background: #FBBF24;
}

/* Macro card styling */
.macro-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.macro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
