/* Pattern Section Header Styling */

.pattern-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--surface-elevated);
    border-radius: 12px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pattern-section-header:hover {
    background: var(--surface-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pattern-section-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 !important;
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 200px !important;
}

.pattern-header-image {
    width: 120px;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-left: auto;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.collapsed .toggle-icon {
    transform: rotate(-90deg);
}